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.
LastDayOfYear (Function)
Returns the date of the last day of the year.
GenerateLorem (Function)
Generates a random "Lorem ipsum" text to temporarily populate a control with text, for example.
AJAXCallInProgress (Function)
Used to determine if the request being processed is an AJAX request.
CameraPhoto (Function)
Captures a photo via a Camera control in an Android or iOS application.
CameraVideoStart (Function)
Starts recording a video via a Camera control in an Android or iOS application.
CameraVideoStop (Function)
Stops the video recording previously started by CameraVideoStart.
SpreadsheetMoveWorksheet (Function)
Moves a worksheet within a Spreadsheet control in a window.
OCRLoadLanguage (Function)
Adds a language to the native OCR system.
PopupDisplayPage (Function)
Displays a WEBDEV page as a popup in the current page with a DDW (Dim Disabled Windows) effect.
PopupClosePage (Function)
Hides a page displayed as a popup via PopupDisplayPage.
HTMLFromEmail (Function)
Imports the HTML content of an email and its images into an HTML Display control. The images...
LinkColorRTF (Function)
Changes the color of links in all RTF Edit controls in the application.
DownloadAdd (Function)
Adds a new download in the device's download manager....
DownloadGetInfo (Function)
Retrieves the details of a download present in the download manager.
DownloadRemove (Function)
Cancels a download by removing it from the download manager, and deletes any existing files.
DownloadList (Function)
Lists the downloads from the current application in the download manager.
JSONToXML (Function)
Converts a JSON string to XML.
XMLToJSON (Function)
Converts an XML string to JSON.
StringDeleteDuplicate (Function)
Removes duplicates among substrings of a string, based on one or more separators.
FileToURI (Function)
Saves the contents of a file to a resource identified by its URI.
BufferToURI (Function)
Saves the contents of a buffer to a resource identified by its URI.
PermissionRequest (Function)
Prompts the user to grant an application permission.
PermissionList (Function)
Returns one or all the permissions declared by the application.
WidgetProcedure (Function)
Specifies the procedure that will be called when the user clicks an iOS 14 widget.
HTMLInsertBefore (Function)
Adds a node before the specified node in an HTML document.