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).
ZOrderThe ZOrder property is used to manage the Z-order of an element.
AnchorThe Anchor property is used to set the anchors of a control in a window, page or report.
AnimationThe Animation property animates an image.
InitialAnimationThe InitialAnimation property is used to determine the initial status of an animation in an Image, Button, Static or Carousel control.
ScrollValueThe ScrollValue property is used to set the scroll value.
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.
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.
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.
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.
HorizontalAlignmentThe HorizontalAlignment property is used to get and change the horizontal alignment of a control.
VerticalAlignmentThe VerticalAlignment property is used to get and change the vertical alignment of a 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.
CheckedThe Checked property is used to get and modify the checkmark state of an element.
ContentThe Content property is used to read or write the whole content of a control:
  • List Box populated programmatically,
  • Combo Box populated programmatically,
  • Spreadsheet.
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.
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.
BackgroundColorThe BackgroundColor property is used to set the background color of a control, window, page or block of a report.
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.
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.
MouseCursorThe MouseCursor property is used to identify and change the hover cursor defined for a control, window or page.
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.
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.
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.
DndTargetDndTarget is used to find out and modify the behavior of a control during "Drag and Drop".
DndSourceThe DndSource property is used to determine and change a control's drag-and-drop behavior.
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.
PushedThe Pushed property is used to get and change the state of a two-state button (pressed or released).
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.
StateThe State property is used to get and change the state of an element.
InitialStateThe InitialState property is used to get the initial state of a control.
SourceWindowThe SourceWindow property is used to get the source of an internal window (i.e. the internal window displayed by the Internal Window control).
BrowsedFileThe BrowsedFile property is used to get and change the data source used to display records in controls based on a data file.
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.
CursorEndCursorEnd is used to find out and modify the end position of selection 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.
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.
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.
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.
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.
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.
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.
MaxHeightThe MaxHeight property is used to get and change the maximum height of a control or window.
MinHeightThe MinHeight property is used to get and change the minimum height of a control or window.
ImageImage is used to find out and modify the background image displayed in a control or in a block.
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.
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.
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.
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.
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.
HintHint is used to find out and modify the information text displayed when the edit control is empty.
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.
ColumnWidthThe ColumnWidth property is used to get and change the width of each column in a multi-column Looper control.
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.
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.
MaxWidthThe MaxWidth property is used to get and change the maximum width of a control or window.
MinWidthThe MinWidth property is used to get and change the minimum width of a control or window.
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.
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.
InputMaskThe InputMask property is used to:
  • find out the input mask.
  • modify the input mask (among the available masks for the type).
MemoryThe Memory property determines if the specified control is populated programmatically or is based on a data file.
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.
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.
ListViewModeThe ListViewMode property is used to:
  • Find out the display mode of a ListView control.
  • Modify the display mode of a ListView control.
ModifiedThe Modified property is used to determine if a control or group of controls has been modified by the user (keyboard or mouse input).
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.
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.
NumberColumnNumberColumn is used to:
  • Find out the number of columns in a control containing columns (Table, Check Box, Radio Button controls, etc.).
  • Modify the number of columns in a multi-column List Box control.
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.
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.
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.
Num1stDayOfTheWeekNum1stDayOfTheWeek is used to find out and modify 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.
TABOrderThe TABOrder property is used to get and change the position of a control in the tab order of a window.
CountReturns the number of occurrences of a control in a window, in a page or in a group of controls.
VerticalOrientationThe VerticalOrientation property is used to:
  • Find out the orientation of a ListView control.
  • Modify the orientation of a ListView control.
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.
PlanePlane 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.
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.
FontBoldFontBold is used to:
  • Determine if the text is bold.
  • Change the weight of the text.
FontItalicFontItalic 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.
FontUnderlinedFontUnderlined is used to:
  • Find out whether a text is underlined or not.
  • Underline (or not) a text.
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.
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.
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.
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.
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).
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.
BackgroundStyleThe BackgroundStyle property is used to get and modify the background style of cells in tables and/or TreeView Tables.
SizeThe Size property is used to determine and change the size of an element.
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.
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.
AnchorRateHeightThe AnchorRateHeight property is used to:
  • Find out the vertical anchor rate of a control.
  • Modify the vertical anchor rate of a control.
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.
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.
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.
SortableThe Sortable property is used to:
  • Determine if a Table control column is sortable.
  • Make a column of a Table control sortable or not.
SortSorts a WLanguage array.
SortedSorted is used to:
  • Determine whether a control is sorted.
  • Sort a control or not.
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.
FillTypeThe FillType property is used to determine the type of source used to populate Table, List Box, ListView, Combo Box and Looper controls.
InputTypeThe InputType property is used to identify or change the type of input supported by a control: Duration, Date, Numeric, etc.
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.
DisplayedValueThe DisplayedValue property returns the value currently displayed in the control of a window or page.
InitialValueThe InitialValue property is used to get the initial value of a control in a window or page.
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.
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.
VerticalVertical is used to:
  • find out whether a control is oriented horizontally or vertically.
  • modify the display direction of Table and Looper controls (switch from vertical to horizontal and conversely).
EmptyEmpty is used to find out whether:
  • 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.
VisibleThe Visible property is used to:
  • Find out whether an element is visible.
  • Make an element visible or invisible.
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.
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.
Minimum version required
  • Version 10
Comments
Click [Add] to post a comment