ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Version: 2026

Declaring and using a variable
A variable is defined by name and type...
Service variable
The Service variable is used to...
Report based on a variable (Data binding)
A report based on a variable is used to directly print the information found in a WLanguage variable...
Composite variable
A composite variable contains different types of elements (members)...
Advanced types
The advanced types of WLanguage are as follows
<Source>.Reset (Function)
Initializes:
  • one or all variables of file items with their default values.
  • one or all items of a Record variable with their default values.
WLanguage types
The different types in WLanguage are...
IsNumeric (Function)
Enables you to find out whether a variable or a control is:
  • a numeric (integer, real, currency or numeric).
  • a string that can be converted into numeric.
HReset (Function)
Initializes:
  • one or all variables of file items with their default values.
  • one or all items of a Record variable with their default values.
Assignment operators
Three assignment operators are available...
Code style
A code style is used to automatically prefix the name of all the variables and project elements (windows, report controls, classes, etc.
TypeVar (Function)
Identifies the type of an expression, a variable (during a call to a procedure for example) or a control.
Constant
The constants are language elements whose value is fixed once and for all...
Checkers available in the code editor
The code editor proposes several tools used to correct the code...
Type inference
The type inference is used to simplify the declaration of variables when the variable type can be automatically deduced by the compiler...
<docFragment variable>.Add (Function)
Adds an element, text or image at the end of a docFragment variable.
<Document variable>.Add (Function)
Adds at the end of a Document variable: an element, a document, a paragraph, a text, an image...
<Document variable>.StartModification (Function)
Indicates the start of a series of actions performed on a Document variable in a single event...
<Document variable>.Close (Function)
Closes the docx file associated with the Document variable and frees the document.
<emailOutlookSession variable>.RemoveFolder (Function)
Deletes a folder from the Outlook messaging software.
<Document variable>.EndModification (Function)
Indicates the end of a series of actions performed in a Document variable in a single event...
<Image variable>.DrawTextRTF (Function)
Draws an RTF text in an Image variable.
<Image variable>.DrawText (Function)
Draws a text in an Image variable.
<Image variable>.Pen (Function)
Declares the default color and style for the lines, rectangles, circles, ... in an Image variable.
<Image variable>.Fill (Function)
Colors an area in an Image variable.
<Image variable>.DrawRectangleGradient (Function)
Draws a rectangle in an Image variable.
<Image variable>.DrawRoundedRectangle (Function)
Draws a rounded rectangle in an Image variable.
<Image variable>.DrawRectangle (Function)
Draws a rectangle in an Image variable.
<Image variable>.DrawSlice (Function)
Draws a section of a circle or an ellipse in an Image variable.
<Image variable>.DrawPolyline (Function)
Draws a line composed of multiple segments in an Image variable.
<Image variable>.DrawPolygon (Function)
Draws a polygon in an Image variable.
<Image variable>.Font (Function)
Declares the font that will be used by dText in an Image variable.
<Image variable>.DrawArc (Function)
Draws a circle arc or an ellipse arc in an Image variable.
<Image variable>.DrawBorder (Function)
Draws the borders in an Image variable.
<Image variable>.DrawCircle (Function)
Draws a circle or an ellipse in an Image variable.
<Image variable>.ChangeMode (Function)
Changes the drawing mode used by the drawing functions (dLine, dRectangle, ....).
<Image variable>.DrawChord (Function)
... variable.
<Image variable>.Background (Function)
... variable.
<Image variable>.DrawLine (Function)
Draws a line in an Image variable.
<Image variable>.DrawPoint (Function)
Draws a point in an Image variable.