ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Version: 2026

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.
Procedure/Function
A procedure is used to associate an identifier with a statement block...
Global procedure/function
A global procedure can be used in all the processes or events of the project.
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.
Prototype overload/Overload
The procedures and the methods of classes can have several syntaxes.
Passing parameters
The parameters can be passed to a 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...
Typecasting of parameters
The description of the parameter type is optional...
<Table>.CollapseExpand (Function)
Collapses or expands an element in a Table or TreeView Table control.
<Dashboard>.Count (Function)
Returns the number of widgets found in a Dashboard control.
<Spreadsheet>.Replace (Function)
Finds and replaces a value in a Spreadsheet control.
<Scheduler>.PositionResource (Function)
Displays a given resource in a Scheduler control or returns the position of first visible resource...
<Scheduler>.PositionDateTime (Function)
Displays a Scheduler control from a specified date or returns the date of the first day (or last...
<Scheduler>.DateVisible (Function)
Makes a day visible or invisible in a Scheduler control.
<Input>.CalendarOpen (Function)
In a Date edit control, opens a popup window displaying a calendar.
<Chart>.Label (Function)
Indicates various parameters of additional legend in a chart.
<Chart>.Mask (Function)
Formats the data displayed by grLabel or by grTooltip.
<Chart>.RealTimeInterval (Function)
Sets the time interval visible in a time chart with real-time display.
<EmailIMAPSession>.GetAll (Function)
Retrieves all the emails found on an IMAP server.
<Spreadsheet>.EndModification (Function)
Signals the end of grouping for a set of operations on a Spreadsheet control in a single event...
<Spreadsheet>.InsertColumn (Function)
Inserts an empty column into a Spreadsheet control found in a window.
<Spreadsheet>.InsertWorksheet (Function)
Inserts a worksheet into a Spreadsheet control found in a window.
<Spreadsheet>.InsertRow (Function)
Inserts an empty row into a Spreadsheet control found in a window.
<Spreadsheet>.Position (Function)
Displays the specified cell in a Spreadsheet control found in a window: either the visible area...
<Spreadsheet>.GetFormula (Function)
Retrieves the calculation formula of a cell found in a Spreadsheet control of a window.
<Spreadsheet>.GetMerge (Function)
Used to find out whether a cell is merged with other cells and to get the name of merged cells.
<Spreadsheet>.GetSelection (Function)
Retrieves the list of selected cells in a Spreadsheet control found in a window.
<Spreadsheet>.RestorePositionAndSelection (Function)
Restores: the scrollbar position in a Spreadsheet control, the current worksheet,...
<Spreadsheet>.Save (Function)
Saves the content of a Spreadsheet control in a file in XLSX format.
<Spreadsheet>.SavePositionAndSelection (Function)
Saves: the scrollbar position in a Spreadsheet control for the current worksheet, the current...
<Spreadsheet>.SelectWorksheet (Function)
Selects a worksheet (identified by its name) in a Spreadsheet control.
<Spreadsheet>.SelectMinus (Function)
Deselects one or more cells in a Spreadsheet control found in a window.
<Spreadsheet>.SelectPlus (Function)
Selects one or more cells in a Spreadsheet control found in a window.