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...
<DiskFile variable>.Size (Function)
Returns the size of a file (in bytes).
<mongoCollection variable>.ExecuteOperations (Function)
Performs MongoDB write operations in bulk. This allows you to avoid network latency issues...
<WBAdminAuth variable>.ListAccount (Function)
Returns the list of WEBDEV accounts on a WEBDEV Application Server.
<WBAdminAuth variable>.UpdateAccount (Function)
Updates the parameters of a WEBDEV account in a WEBDEV Application Server.
<WBAdminAuth variable>.ListConnection (Function)
Returns the list of current connections on a WEBDEV Application Server.
<WBAdminAuth variable>.DeleteAccount (Function)
Deletes a WEBDEV account from a WEBDEV Application Server.
<WBAdminAuth variable>.Disconnect (Function)
Deletes a connection from a WEBDEV Application Server.
<WBAdminAuth variable>.CreateAccount (Function)
Creates a WEBDEV account on a WEBDEV Application Server.
<xlsDocument variable>.RecalculateAll (Function)
Recalculates all formulas in an Excel (XLSX) document.
<xlsDocument variable>.GetMerge (Function)
Determines if a cell is merged with other cells and gets the merged cell range.
<Email variable>.ExportHTML (Function)
Retrieves the HTML code of an email to display it in an HTML control (HTML control, HTML Display...
<JSON variable>.ToString (Function)
Converts the content of a JSON variable to a JSON string.
<JSON variable>.ToXML (Function)
Converts a JSON string to XML.
<Buffer type>.EncryptAsymmetric (Function)
Encrypts a buffer using an asymmetric encryption algorithm (RSA) that requires a public key...
<Buffer type>.EncryptStandard (Function)
Encrypts a character string or a binary buffer by using a symmetrical encryption algorithm (AES,...
<restRequest variable>.Send (Function)
Sends a REST request and waits for the server response.
<Gantt chart>.AddHoliday (Function)
Defines a new holiday period on a row in a Gantt Chart column of a Table or TreeView Table control.
<Gantt chart>.AddLink (Function)
Creates an "End to Start" link between two tasks displayed in a Gantt Chart column found in a Table...
<Gantt chart>.AddTask (Function)
Adds a task in a Gantt Chart column in a Table or TreeView Table control.
<Gantt chart>.ChangeMode (Function)
Changes the number of days displayed in a Gantt Chart column in a Table or TreeView Table control.
<Gantt chart>.OrganizeTask (Function)
Reorganizes the tasks of a Gantt chart according to the constraints (dependencies and resources).
<Gantt chart>.DateTimePosition (Function)
Sets the first day and time displayed in a Gantt Chart column in a Table or TreeView Table control.
<Gantt chart>.DeleteAll (Function)
Removes all tasks from a Gantt Chart column in a Table or TreeView Table control.
<Gantt chart>.TimeDisplayed (Function)
Defines the time range displayed in a Gantt Chart column in a Table or TreeView Table control.
<Gantt chart>.WorkingHour (Function)
Overwrites the working hours on a row in a Gantt Chart column in a Table or TreeView Table control.