ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Version: 2025

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.
Typecasting of parameters
The description of the parameter type is optional...
Local procedure
Two types of procedures are available...
<sfConnection variable>.ForwardQuery (Function)
Continues to run a SOQL query (Salesforce Object Query Language) on the records of a Salesforce...
<sfConnection variable>.Connect (Function)
Allows you to authenticate yourself beside a Salesforce platform.
<sfConnection variable>.ConvertLead (Function)
Converts the leads.
<sfConnection variable>.Disconnect (Function)
Disconnects: the Salesforce platform. the current Salesforce session....
<sfConnection variable>.ExecuteQuery (Function)
Runs an SOQL query (Salesforce Object Query Language) on a Salesforce database.
<sfConnection variable>.ExecuteProcess (Function)
Requests the execution of a specific process.
<sfConnection variable>.Merge (Function)
Merges the Salesforce records (also called Salesforce objects).
<sfConnection variable>.Read (Function)
Retrieves the Salesforce records from their identifiers.
<sfConnection variable>.EmptyRecycleBin (Function)
Clears the specified records from the Salesforce recycle bin.
<TreeView Table>.AddChild (Function)
Adds a row into a TreeView Table control, at the end of a given hierarchy level.
<TreeView Table>.MoveBranch (Function)
Moves the content of a row as well as its entire descending tree structure in a TreeView Table...
<TreeView Table>.SwapBranch (Function)
Swaps the content of two rows (as well as their respective tree structure) in a TreeView Table...
<TreeView Table>.ChildCount (Function)
Returns the number of direct children for an element in a TreeView Table control.
<TreeView Table>.ItemStatus (Function)
Returns the status of a node in a Treeview Table control: collapsed, expanded or not found.
<TreeView Table>.TypeItem (Function)
Checks the existence of an element in a TreeView Table and returns its type (node or leaf)...
<TreeView Table>.DeleteChild (Function)
Deletes all child rows from a branch of the hierarchy.
<TreeView Table>.GiveParent (Function)
Returns the "parent" of an element in a TreeView Table control.
<TreeView Table>.GiveChild (Function)
Returns the "children" of an element (lower level) in a TreeView Table control.
<TreeView Table>.InsertChild (Function)
Inserts a row into a TreeView Table control, in a given hierarchy level.
<TreeView Table>.ListChild (Function)
Lists the "children" of a node and the "child" elements of these "children" in a TreeView Table...
<TreeView Table>.SortChild (Function)
Sorts a branch in a TreeView Table control on one or more columns.
<Image variable>.Copy (Function)
Copies an image to another image.
<Image variable>.DominantImageColor (Function)
Returns the dominant color (i.e. most frequent color) of an image found in an Image variable.
<Queue variable>.Dequeue (Function)
Dequeues an element from a queue.
<Stack variable>.Pop (Function)
Pops an element from a stack.