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.
HTMLControlValue (Function)
Used to identify or modify a control in an HTML form contained in an HTML Display control.
HTMLExecuteControlProcess (Function)
Executes a WLanguage event associated with a control in an HTML page displayed by an HTML Display...
HTMLValidateForm (Function)
Validates a form in an HTML page displayed in an HTML Display control.
PhraseToBuffer (Function)
Returns the buffer encoded in a BIP39 mnemonic phrase.
TwoFactorAuthenticationGenerateTOTPKey (Function)
Generates a TOTP Key for an application user.
TwoFactorAuthenticationGenerateLink (Function)
Generates a link to register an account in an authentication application. When associated...
TwoFactorAuthenticationCheckCode (Function)
Verifies the code given by an authentication application.
InWebSocketServerGlobalServiceMode (Function)
Indicates if the current code is being executed on the global service of the WebSocket server.
sListPort (Function)
Returns the list of serial and parallel ports on the computer.
HTMLEditorGet (Function)
Asynchronously retrieves the value of one of the properties of an HTML Editor control.
HRecordToString (Function)
Converts the content of the current record to string (in a data file, HFSQL view, query, etc.).
HTMLEditorGetSelection (Function)
Asynchronously retrieves the current selection from an HTML Editor control.
HTMLEditorGetDocument (Function)
Asynchronously retrieves the HTML document being displayed in an HTML Edit control.
HTMLEditorInsert (Function)
Inserts text or HTML code at the cursor position in an HTML Editor control.
HTMLEditorReplace (Function)
Replaces one string with another in an HTML Editor control.
HTMLEditorFormatSelection (Function)
Modifies the style of the selected elements in an HTML Editor control.
CoordinateImageControlToImage (Function)
Converts the coordinates of a rectangle in the Image control to the corresponding coordinates...
CoordinateImageToImageControl (Function)
Converts the coordinates of a rectangle in the image to the corresponding coordinates in the Image...
WebSocketExecuteGlobalService (Function)
Executes a global procedure in the context of the global service of the WebSocket server.
HExecuteQueryAsynchronous (Function)
Executes a SELECT query asynchronously.
HExecuteSQLQueryAsynchronous (Function)
Executes an SQL query asynchronously.
zipSelectFile (Function)
Selects files from an archive.
HTMLEditorToEmail (Function)
Exports the content of an HTML Editor control to an Email variable (to send the email).
HTMLEditorFromEmail (Function)
Imports the HTML content of an email and its images into an HTML Editor control. The images...
EmailExportHTML (Function)
Retrieves the HTML code of an email to display it in an HTML control (HTML control, HTML Display...