ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Version: 2025

Calling a procedure/a function
Syntax for calling a local or global procedure.
Declaring a procedure/a function
The different syntaxes for declaring a procedure...
Global procedure/function
A global procedure can be used in all the processes or events of the project.
Parameters of a procedure/function
You have the ability to pass parameters to a procedure.
Passing parameters
The parameters can be passed to a procedure...
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.
Local procedure
Two types of procedures are available...
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.
<Organization Chart>.Display (Function)
Reinitializes the content of an Organization Chart control from its data source (HFSQL data file...
<Organization Chart>.AddChild (Function)
Adds a child element into an Organization Chart control.
<Organization Chart>.InfoXY (Function)
Returns the index of the element found at a given position in an Organization Chart control.
<Organization Chart>.Modify (Function)
Modifies an element in an Organization Chart control.
<Organization Chart>.Occurrence (Function)
Returns the number of elements found in an Organization Chart control.
<Organization Chart>.SaveImage (Function)
Creates an image representing the entire Organization Chart control.
<Organization Chart>.Select (Function)
Returns the index of the selected element in an Organization Chart control.
<Organization Chart>.Add (Function)
Adds a new root element into an Organization Chart control.
<Organization Chart>.SelectMinus (Function)
Deselects an element from an Organization Chart control.
<Organization Chart>.SelectPlus (Function)
Selects an element in an Organization Chart control.
<Organization Chart>.Delete (Function)
Deletes an element and its "children" from an Organization Chart control.
<Organization Chart>.DeleteAll (Function)
Deletes all elements from an Organization Chart control.
<Combo box>.Close (Function)
Forces the closing of the drop-down list in a Combo Box control (simple or multi-column Combo Box).
<Combo Box>.Open (Function)
Expands the list of a Combo Box control (single-column or multi-column Combo Box).
<List Box>.Display (Function)
Refreshes a List Box, ListView or Combo Box control based on a data file.
<List Box>.Seek (Function)
Seeks an element in a List Box control (standard List Box or ListView) or in a Combo Box control...
<List Box>.Insert (Function)
Inserts an element into a List Box, ListView or Combo Box control populated programmatically.
<List Box>.Modify (Function)
Modifies an element in a List Box, ListView or Combo Box control populated programmatically.
<List Box>.Count (Function)
Returns the number of elements in a List Box, ListView or Combo Box control.
<List Box>.Position (Function)
Displays a List Box (or a ListView) control from a specified element or returns the index...
<List Box>.Select (Function)
Returns the index of the selected element in a List Box, ListView or Combo Box control.
<List Box>.SelectMinus (Function)
Deselects an element in a List Box, ListView or Combo Box control.
<List Box>.SelectCount (Function)
Returns the number of elements selected in a List Box, ListView or Combo Box control.
<List Box>.SelectPlus (Function)
Selects one or more elements in a List Box, ListView or Combo Box control.
<List Box>.Delete (Function)
Deletes an element from a List Box, ListView or Combo Box control populated programmatically.