ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

  • Overview
  • Generating a Java application with WINDEV
  • Available WLanguage properties
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Overview

Generating a Java application with WINDEV

WINDEV allows you to generate a Java application without even knowing the Java language. The method for developing the application is identical to the method for developing any other WINDEV application.
When the WINDEV project is compiled, the windows and the WLanguage properties are automatically converted into Java.
Available WLanguage properties
The following properties are available for Java:
AliasThe Alias property is used to:
  • get or change the alias of a window (WINDEV and WINDEV Mobile).
  • get or change the alias of a dynamic tab (WINDEV).
  • get the internal HTML/JavaScript name of a control (WEBDEV).
AnchorThe Anchor property sets the anchors of a control in a window, page or report.
AnchorRateBottomThe AnchorRateBottom property is used to:
  • Find out the anchor rate when a control moves on the vertical axis.
  • Modify the anchor rate when a control moves on the vertical axis.
AnchorRateHeightThe AnchorRateHeight property is used to:
  • Find out the vertical anchor rate of a control.
  • Modify the vertical anchor rate of a control.
AnchorRateRightThe AnchorRateRight property is used to:
  • Find out the anchor rate when a control moves on the horizontal axis.
  • Modify the anchor rate when a control moves on the horizontal axis.
AnchorRateWidthThe AnchorRateWidth property is used to:
  • Find out the anchor rate when a control (or a table column) stretches on the horizontal axis.
  • Modify the anchor rate when a control (or a table column) stretches on the horizontal axis.
AnimationThe Animation property animates an image.
AutoBrowseThe AutoBrowse property is used determine if the browse operation performed in a List Box, Looper, Table or Combo Box control based on a data file is automatic or programmed.
BackgroundColorThe BackgroundColor property is used to set the background color of a control, window, page or block of a report.
BackgroundImageThe BackgroundImage property is used to identify and modify the background color of an element: window, page, control or report.
BackgroundImageStateThe BackgroundImageState property allows you to get and change the number of drawings in the image associated with the background of a button.
BackgroundStyleThe BackgroundStyle property is used to get and modify the background style of cells in tables and/or TreeView Tables.
BrowsedFileThe BrowsedFile property is used to get and change the data source used to display records in controls based on a data file.
BrowsedItemThe BrowsedItem property is used to:
  • Get the item used to automatically loop through Table, Looper, List Box, ListView and Combo Box controls, supercontrols and reports based on data files.
  • Change the item used to automatically loop through Table, Looper, List Box, ListView and Combo Box controls, supercontrols and reports based on data files. Then, the iteration is reinitialized.
CaptionIn a database, the Caption property is used to:
  • Find out the caption associated with a file item.
  • Find out the caption associated with a data file.
  • Find out and modify the connection caption.
In a report, the Caption property is used to:
  • Find out the text displayed in a Static or Link control.
  • Modify the text displayed in a Static or Link control.
In a window or page, the Caption property is also used to:
  • Find out and modify the caption of a control in a window or in a page.
  • Find out and modify the caption of a menu option.
  • Find out and modify the title of a window or page.
  • Find out the content of a Breadcrumb control.
CheckedThe Checked property is used to get and modify the checkmark state of an element.
CollapsedThe Collapsed property is used to:
  • get or define the state (collapsed or expanded) that will be used when rows are added to a TreeView Table control.
  • find out or modify the collapsed/expanded status for:
    • the breaks of a Table control,
    • the breaks of a Looper control,
    • a Drawer control,
    • a Ribbon control,
    • a Navigation Bar control.
    • a Pivot Table control in a report.
CollapsedImageThe CollapsedImage property is used to:
  • find out and/or modify the default image associated with a collapsed row in a TreeView Table control.
  • find out and/or modify the default image associated with a collapsed row in a TreeView control.
  • find out and/or modify the image associated with a specific collapsed row in a TreeView Table control.
  • find out and modify the image in a collapsed row of a TreeView item in a "TreeView table" type report.
ColorThe Color property is used to get or change the font color for:
  • a Font variable.
  • a text displayed in a Static control or in a calculated control of a report.
  • a text displayed in a window control.
  • a text displayed in a page control.
ColumnWidthThe ColumnWidth property is used to get and change the width of each column in a multi-column Looper control.
ContentThe Content property is used to read or write the whole content of a control:
  • List Box populated programmatically,
  • Combo Box populated programmatically,
  • Spreadsheet.
CountReturns the number of occurrences of a control in a window, in a page or in a group of controls.
CursorThe Cursor property is used to get and change the position of the mouse cursor in one of the following controls:
  • Edit control.
  • Editable Combo Box.
  • "Edit control" table column and "Editable Combo Box" table column.
  • Word Processing control.
  • HTML Editor control.
CursorEndThe CursorEnd property gets and sets the end position of the mouse selection range in the following controls:
  • Edit control.
  • Editable Combo Box.
  • "Edit control" table column and "Editable Combo Box" table column.
  • Word Processing control.
DataBindingThe DataBinding property is used to identify and change the binding between a control and:
  • an item in a data file.
  • a variable.
  • several variables.
DisplayedItemThe DisplayedItem property is used to:
  • Find out the item or the variable displayed by the control.
  • Modify the item or the variable displayed by the control.
DisplayedValueThe DisplayedValue property returns the value currently displayed in the control of a window or page.
DndSourceThe DndSource property is used to determine and change a control's drag-and-drop behavior.
DndTargetThe DndTarget property determines and changes how a control behaves in a Drag and Drop operation.
DoubleClickThe DoubleClick property is used to get and change the name of the Button control that will be executed when a control is double-clicked.
EllipsisThe Ellipsis property is used to determine and change the truncation mode with ellipses in:
  • a window control (Static, edit control, List box, Button, Combo box or Static table column).
  • a Static control in a report.
EmptyThe Empty property is used to determine if:
  • a Looper, Table, List Box or Combo Box control is empty. The control can be a browsing control or a memory control.
  • a Chart control contains no series.
  • a report control is empty (control linked to an item).
  • an array (or an associative array) contains no element.
  • an element of an associative array exists or not.
  • a queue, a list or a stack contains no element.
EndDateThe EndDate property is used to get and change the selected time period end date:
  • in a Calendar control,
  • in an Organizer control.
  • in a Scheduler control.
ExpandedImageThe ExpandedImage property is used to:
  • find out and modify the default image associated with an expanded row in a TreeView Table control.
  • find out and/or modify the default image associated with an expanded row in a TreeView control.
  • find out and modify the image associated with a specific expanded row in a TreeView Table control.
  • find out and modify the image associated with an expanded row in a treeview item of a "TreeView table" report.
FillTypeThe FillType property is used to determine the type of source used to populate Table, List Box, ListView, Combo Box and Looper controls.
FilterThe Filter property is used to identify and change the filter applied to records in:
  • Table controls based on a data file,
  • browsing TreeView Table controls,
  • browsing List Box controls,
  • browsing Combo Box controls,
  • browsing Looper controls.
FontBoldThe FontBold property is used to:
  • Determine if the text is bold.
  • Change the weight of the text.
FontItalicThe FontItalic property is used to:
  • Determine if the text is italicized.
  • Apply or remove italic formatting from the text.
FontNameThe FontName property is used to:
  • Identify the font used in a control.
  • Change the font used in a control.
FontSizeThe FontSize property is used to:
  • Identify the size of the font used in a control.
  • Change the size of the font used in a control.
FontStrikeOutThe FontStrikeOut property is used to:
  • Determine if the text displayed is struck through.
  • Apply strikethrough formatting (or not) the text displayed in a control.
FontUnderlinedThe FontUnderlined property is used to:
  • Determine if the text is underlined.
  • Underline (or not) a text.
FullNameThe FullName property is used to find out the full name:
  • of a control.
  • of a window.
  • of a menu option.
  • of a table column.
GroupThe Group property is used to:
  • find out whether the control belongs to a group of controls. If the control belongs to one or more groups, the Group property can be used to identify these groups of controls.
  • associate a control with a group of controls.
HeightThe Height property is used to get and change the height:
  • of a control or block in a report.
  • of a control (in a window), window, row of a Table, List Box or ListView control, option of a Radio Button or Check Box control, break header or footer of a Table or Looper control.
  • of a control (in a page), break header or footer in a Table or Looper control. The control can be overlayable or not.
HintThe Hint property gets and sets the hint text displayed when the Edit control is empty.
HorizontalAlignmentThe HorizontalAlignment property is used to get and change the horizontal alignment of a control.
ImageThe Image property gets and sets the background image of a control or block.
ImageHeightThe ImageHeight property is used to:
  • Find out the height of the image section displayed in an image control or in the background of a chart control.
  • Modify the height of the image section displayed in an image control or in the background of a chart control.
ImageModeThe ImageMode property is used to get and change the display mode of an image in an Image control, in the column of a table of type Image or in the background of a Chart control in a window.
ImageStateThe ImageState property is used to get and change the number of drawings in:
  • The image associated with a button.
  • The image of the cursor in a slider.
  • The image associated with the button of a sidebar pane.
  • The image associated with the button of a tab pane.
  • The image associated with the Rating control.
  • The image associated with a group in a Ribbon control.
  • The image associated with a menu option.
ImageWidthThe ImageWidth property gets and sets the width of the image section displayed in an Image control or in the background of a Chart control.
InitialAnimationThe InitialAnimation property determines whether the animation of an Image, Button, Static or Carousel control is enabled when the control is created.
InitialContentInitialContent is used to get the initial content:
  • of a List Box control populated programmatically.
  • of a Combo Box control populated programmatically.
  • of a "List of values" column found in a Table control.
  • in a Spreadsheet control.
InitialHeightThe InitialHeight property is used to:
  • Find out the creation height of a control or window.
  • Modify the base height used to anchor the controls "in height".
  • Find out the creation height of a block or control in a report.
InitialStateThe InitialState property is used to get the initial state of a control.
InitialValueThe InitialValue property is used to get the initial value of a control in a window or page.
InitialVisibleThe InitialVisible property is used to determine if:
  • a control was visible during the first display of the associated window or page.
  • a window was visible during its first display.
InitialWidthThe InitialWidth property is used to:
  • Find out the initial width of a control or window.
  • Modify the base width used to anchor the controls in "width".
  • Find out the initial width of a report control.
InputMaskThe InputMask property is used to:
  • find out the input mask.
  • modify the input mask (among the available masks for the type).
InputTypeThe InputType property is used to identify or change the type of input supported by a control: Duration, Date, Numeric, etc.
LineHeightThe LineHeight property is used to get and change the height of the rows:
  • in a List Box control,
  • in a ListView control (standard display mode only),
  • in a Table control,
  • in a Combo Box control,
  • in a Looper control (height of the row),
  • in an Organizer control.
ListViewModeThe ListViewMode property is used to:
  • Find out the display mode of a ListView control.
  • Modify the display mode of a ListView control.
MaxHeightThe MaxHeight property is used to get and change the maximum height of a control or window.
MaxLineHeightThe MaxLineHeight property is used to get and change the maximum height in:
  • the rows of a Table control (case of multiline rows with automatic resizing).
  • the rows of a TreeView Table control.
  • the rows of a Looper control.
MaxValueThe MaxValue property is used to:
  • find out and modify the upper bound of a report based on a data file.
  • find out the upper bound defined for the current filter.
  • find out the maximum value of a chart series.
  • find out and modify the maximum value for some types of controls.
MaxWidthThe MaxWidth property is used to get and change the maximum width of a control or window.
MemoryThe Memory property determines if the specified control is populated programmatically or is based on a data file.
MemoryFormatThe MemoryFormat property is used to get and change the format of the value returned for:
  • Date or Time edit controls.
  • Date or Time table columns.
  • Calendar controls.
  • Static controls.
  • editable combo boxes.
  • table columns displayed by combo boxes.
MinHeightThe MinHeight property is used to get and change the minimum height of a control or window.
MinValueThe MinValue property is used to:
  • find out and modify the lower bound of a report based on a data file.
  • find out the lower bound defined for the current filter.
  • find out the minimum value of a chart series.
  • find out and modify the minimum value for some types of controls.
MinWidthThe MinWidth property is used to get and change the minimum width of a control or window.
ModifiedThe Modified property is used to determine if a control or group of controls has been modified by the user (keyboard or mouse input).
MouseCursorThe MouseCursor property is used to identify and change the hover cursor defined for a control, window or page.
MovableThe Movable property is used to:
  • Find out whether a table column can be moved by the user,
  • Allow and/or forbid a table column to be moved by the user.
MultilineIn a window or page, the Multiline property is used to:
  • find out and modify the "Multiline" option of an Edit control.
  • find out and modify the "Multiline" option of a column in a Table control.
In a report, the Multiline property is used to determine and change the "Multiline" option of a control.
MultiselectionThe Multiselection property gets and sets the selection mode:
  • in a Table and TreeView Table control.
  • in a Pivot Table control.
  • in a List Box and ListView control.
  • in a Looper control.
  • in a Calendar control.
  • of files in an Upload control.
NameThe Name property is used to get:
  • the name of the font associated with a Font variable.
  • the name of a control, report or report block.
  • the name of a control, group of controls or window.
  • the name of a control, group of controls or page.
NewLineThe NewLine property is used to determine:
  • in a Table control, whether the current row was created with TableAddXXX or TableInsertXXX.
  • in a Looper control, whether the current row was created with LooperAddXXX or LooperInsertXXX.
  • in an Organizer control, whether an appointment was created via the popup menu.
  • in a Scheduler control, whether an appointment was created via the popup menu.
NoteThe Note property is used to:
  • Find out the notes associated with a control, a window, a page or a report.
  • Modify the notes associated with a control, a window a page or a report.
NoteTitleThe NoteTitle property is used to:
  • Get the title of the notes used in the technical documentation of a control, window, page or report.
  • Change the title of the notes used in the technical documentation of a control, window, page or report.
Num1stDayOfTheWeekThe Num1stDayOfTheWeek property gets and sets the 1st day of the week displayed in:
  • a Calendar control.
  • an Organizer control.
  • a Scheduler control.
  • an edit control in Date format with Calendar.
NumberColumnThe NumberColumn property is used to:
  • Get the number of columns in Table, Check Box, Radio Button controls, etc..
  • Set the number of columns in a multi-column List Box control.
PasswordThe Password property can be used:
  • on the edit controls (or on the text table columns) to find out whether the control is a "Password" control or to modify the "Password" type of the control.
  • on the connections (HFSQL Client/Server, OLE DB, etc.) to define the password of the user who is using the connection.
PlaneThe Plane property is used to:
  • Get:
    • the active plane of a window (or report) or the plane to which a control belongs.
    • the active plane of a WEBDEV element.
  • Change:
    • the active plane of a window (or report) or associate a control with another plane.
    • the active plane of a WEBDEV element.
PopupMenuThe PopupMenu property is used to:
  • Find out the custom context menu associated with a control or window.
  • Modify the context menu associated with a control or window (associate another context menu with the control or window).
  • Customize the system menus of controls by adding options.
ProgressBarColorThe ProgressBarColor property is used to get and change the progress color in the following controls and elements:
  • Progress Bar control,
  • Progress Bar column,
  • Progress Bar cell,
  • infinite Progress Bar control.
PushedThe Pushed property is used to get and change the state of a two-state button (pressed or released).
ReturnedValueThe ReturnedValue property is used to:
  • Get and change the value returned by a window, page or report.
  • Get and change the value returned by an option in a Radio Button control.
RightClickThe RightClick property is used to get and change the name of the Button control that will be executed when an object is right-clicked.
ScrollValueThe ScrollValue property gets and sets the scroll value.
SelectedThe Selected property is used to select a row and to determine if a row is selected (in a List Box, ListView or Table control).
SizeThe Size property is used to determine and change the size of an element.
SortSorts a WLanguage array.
SortableThe Sortable property is used to:
  • Determine if a Table control column is sortable.
  • Make a column of a Table control sortable or not.
SortedThe Sorted property is used to:
  • Determine whether a control is sorted.
  • Sort a control or not.
SourceWindowThe SourceWindow property is used to get the source of an internal window (i.e. the internal window displayed by the Internal Window control).
StartDateThe StartDate property is used to determine and change the start date of the selected time period:
  • in a Calendar control.
  • in an Organizer control.
  • in a Scheduler control.
StateThe State property is used to get and change the state of an element.
StatusBarThe StatusBar property is used to:
  • find out whether the status bar is displayed or not
  • display (or not) the status bar of a window.
StoredItemThe StoredItem property is used to:
  • Find out the stored item or the stored variable of a Table, Looper, List Box or Combo Box control.
  • Modify the stored item or the stored variable of a Table, Looper, List Box or Combo Box control.
StoredValueThe StoredValue property is used to get the value currently stored by:
  • a row in a List Box, ListView or Combo Box control.
  • a "Text token" Edit control.
SubCaptionThe SubCaption property is used to get and change:
  • the secondary caption of an option found in a Radio Button or Check Box control.
  • the secondary caption of an element found in a TreeMap control.
TABOrderThe TABOrder property is used to get and change the position of a control in the tab order of a window.
ThumbnailImageThe ThumbnailImage property is used to:
  • Get the image associated with an element of a ListView control.
  • Change the thumbnail image associated with an element of a ListView control.
TitleThe Title property is used to:
  • Get the title of a Table control column, a Chart control, a window or a page
  • Change the title of a Table control column, a Chart control, a window or a page.
ToolTipThe ToolTip property is used to get and change the text displayed in the tooltip associated with a window or page control.
ToolTipTitleThe ToolTipTitle property gets and sets the text displayed in the tooltip associated with the column title of a Table control. This tooltip only appears when the Table control column title is hovered over.
TriStateThe TriState property is used to:
  • Determine if a check box option supports 3 or 2 states.
  • Determine if a TreeView control uses 3-state or 2-state check boxes.
  • Change the type of an option in a check box: option with 3 states or with 2 states.
TypeThe Type property is used to get:
  • the type of element (data file or item) defined programmatically or in the data model editor, view or query.
  • the type of object.
  • the type of data held in a Variant.
ValueThe Value property is used to:
  • Find out and modify the value of a report control.
  • Find out and modify the value of a control or the title of a window.
  • Find out the identifier of a stream.
  • Find out and modify the value of a control or the title of a page.
VerticalThe Vertical property is used to:
  • determine if a control is oriented horizontally or vertically.
  • change the orientation of Table and Looper controls (switch from vertical to horizontal and conversely).
VerticalAlignmentThe VerticalAlignment property is used to get and change the vertical alignment of a control.
VerticalOrientationThe VerticalOrientation property is used to:
  • Find out the orientation of a ListView control.
  • Modify the orientation of a ListView control.
VisibleThe Visible property is used to:
  • Find out whether an element is visible.
  • Make an element visible or invisible.
WidthThe Width property gets and changes the width:
  • of a control or block in a report.
  • of a control (found in a window), window, column found in a table or column found in a list box (including listview).
  • of a control (found in a page), column found in a table or column found in a list box. The control can be overlayable or not.
XThe X property is used to:
  • Get the X-coordinate of a control, Table control column or window (position on the X-axis).
  • Get the X-coordinate of a control or window (position on the X-axis).
XImageThe XImage property is used to get and change the initial X-coordinate of the image section that will be displayed in an Image control or in the background of a Chart control.
XInitialThe XInitial property is used to:
  • Get the X-coordinate:
    • of a control (position on the X-axis) when opening the window or the page.
    • of a window (position on X-axis) when opening the window.
  • Change the X-coordinate of a control anchored "to the right" (position on the X-axis) when opening the window.
  • Get the X-coordinate of a control in relation to its block (position in millimeters on the X-axis) when opening the report.
YThe Y property is used to:
  • Find out the Y-coordinate of a control or window (position on Y-axis).
  • Modify the Y-coordinate of a control or window.
YImageThe YImage property is used to get and change the initial Y-coordinate of the image section that will be displayed in an Image control or in the background of a Chart control.
YInitialThe YInitial property is used to:
  • Find out the Y-coordinate:
    • of a control (position on Y-axis) when opening the window or the page.
    • of a window (position on Y-axis) when opening the window.
  • Modify the Y-coordinate of a control anchored "to bottom" (position on the vertical axis) when opening the window.
  • Find out the Y-coordinate of a control in relation to its block (position in millimeters on the vertical axis) when opening the report.
ZOrderThe ZOrder property defines the Z-order of an element.
Minimum version required
  • Version 10
Comments
Click [Add] to post a comment