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...
HDuplicateDatabase (Function)
Duplicates the database associated with a connection on an HFSQL server.
TelemetryAddMeasure (Function)
Adds a measure for a value or time sensor.
TelemetryAddPassage (Function)
Signals the code execution for a passage sensor.
PVTSelectCount (Function)
Returns the number of selected cells in a Pivot Table control.
NationToSubLanguage (Function)
Returns the default sub-language corresponding to a nation.
ScreenType (Function)
Returns the type of screen on which the application is run: phone, tablet, computer or watch.
ScreenSize (Function)
Returns the size (in inches) of the diagonal of the screen on the device where the application...
MongoGridFSGetFileByID (Function)
Retrieves (on the local computer) a file identified by its identifier and found in a MongoDB file...
MongoGridFSDeleteFileByID (Function)
Deletes a file identified by its identifier from a MongoDB file system.
MongoModifyAll (Function)
Modifies documents in a collection of a MongoDB database.
ActionRedo (Function)
Runs the last action canceled.
DocStartModification (Function)
Signals the start of grouping for a set of operations on a document in a single event (management...
DocClose (Function)
Closes a docx file and frees the document.
DocOpen (Function)
Opens a Word Processing file (docx format) in Read/Write mode. The docx file is opened and locked...
HManageServerUpdate (Function)
Used to manage the automatic update of HFSQL Client/Server servers by specifying the check...
DocPrint (Function)
Prints a document in "docx" format.
ControlExecuteModification (Function)
Considers that the control has been modified by the user (the Modified property is set to True...
ActionDo (Function)
Creates and runs a custom action (defined through programming) with support of "Undo/Redo"....
ActionUndo (Function)
Cancels the last action performed by the end user.
WebserviceReadMIMEType (Function)
Returns the MIME type of the request received during a call to a REST Webservice.
WebserviceWriteMIMEType (Function)
Indicates the MIME type of the response returned by the Webservice (case of a call to a REST...
inAppCheckSubscription (Function)
When starting the iOS application, checks whether the In-App subscriptions have been renewed.
DocInsert (Function)
Inserts an object into a Word Processing document or replaces the content of the current fragment....
DocUndoRedoDeleteAll (Function)
Deletes the entire history of Undo/Redo mechanism for a Word Processing document....
BreakAdd (Function)
Adds a break into a Table or Looper control.