ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Version: 2025

Global procedure/function
A global procedure can be used in all the processes or events of the project.
Procedure/Function
A procedure is used to associate an identifier with a statement block...
Parameters of a procedure/function
You have the ability to pass parameters to a procedure.
Declaring a procedure/a function
The different syntaxes for declaring a procedure...
Calling a procedure/a function
Syntax for calling a local or global procedure.
MyParameters (Reserved word)
The MyParameters keyword is used to handle the parameters passed to a WLanguage procedure...
Local procedure
Two types of procedures are available...
Parameters of a procedure with a variable number of parameters
When the procedure uses a variable number of parameters, you must be able to handle the different parameters passed to the function in the code of the procedure.
Typecasting of parameters
The description of the parameter type is optional...
Prototype overload/Overload
The procedures and the methods of classes can have several syntaxes.
Passing parameters
The parameters can be passed to a procedure...
ListSelect (Function)
Returns the index of the selected element in a List Box, ListView or Combo Box control.
ListPosition (Function)
Displays a List Box or ListView control from a specified element or returns the index of the first...
TextWidth (Function)
Calculates the width (in pixels) of the text displayed in an edit control, in a Combo Box control...
ListCount (Function)
Returns the number of elements in a List Box, ListView or Combo Box control.
TextHeight (Function)
Calculates the height (in pixels) of the text displayed in an edit control, in a Static control...
ListModify (Function)
Modifies an element in a List Box, ListView or Combo Box control populated programmatically.
RTFToText (Function)
Returns the text without the formatting characteristics specific to the RTF format.
ListInsert (Function)
Inserts an element into a List Box, ListView or Combo Box control populated programmatically.
RTFReplace (Function)
Replaces or inserts a character string in an RTF control (found in a window or in a report)...
ListSeek (Function)
Searches for an element in a List Box, ListView or Combo Box control (including the values...
RTFSearch (Function)
Finds a character string in an RTF control (found in a window or in a report) or in a character...
ListAdd (Function)
Adds an element to a List Box, ListView or Combo Box control populated programmatically.
RTFInsert (Function)
Inserts a character string in RTF into the content of an RTF control (found in a window...
ListDisplay (Function)
Refreshes a List Box, ListView or Combo Box control based on a data file
RTFLoad (Function)
Loads a file in RTF in an RTF control (found in a window or in a report).
FileToMemoryList (Function)
Populates a List Box or Combo Box control programmatically with the records from a data file...
RTFAdd (Function)
Adds a character string (in RTF or not) at the end of RTF edit control, RTF control in a report...
gToRetrieve (Function)
Describes the text value to display and to return when retrieving the value of an element found...
ReturnToCapture (Function)
Stops the current process and forces the input in the specified control, window or page.
LoadImage (Function)
Loads an image in memory so that it can be used later by gImage.
Reset (Function)
Reinitializes: all the controls found in the current window or page (including the groups...
BitmapInfo (Function)
Retrieves the characteristics of an image file or the characteristics of a PDF file : format,...
ParentObject (Function)
Identifies the "parent" of a graphic object: control, column, window, page, ...
OpenContextMenu (Function)
Automatically opens a context menu for the current control, window or page.
ControlTab (Function)
Returns the name of the Tab control that contains the specified control.