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...
<Table>.ToXML (Function)
Creates an XML file from the data found in a Table or TreeView Table control.
<Document>.FindElementByName (Function)
Searches for an element by its name in a Word Processing document.
<Kanban>.Save (Function)
Updates the record bound to the current card in the Kanban control.
<Kanban>.Filter (Function)
Displays only cards that match the specified filter.
<Kanban>.InsertList (Function)
Inserts a list in a Kanban control.
<Kanban>.DeleteCard (Function)
Deletes a card from a Kanban control or from a Kanban List control.
<Kanban>.DeleteList (Function)
Deletes a list from a Kanban control.
<Kanban>.Count (Function)
Returns the number of cards or lists in a Kanban control.
<Kanban>.DeleteAllCard (Function)
Deletes all cards from a Kanban control or Kanban List control.
<Kanban>.MoveCard (Function)
Moves a card in a Kanban control.
<Kanban>.ListIndex (Function)
Returns the index of a list in a Kanban control.
<Kanban>.MoveList (Function)
Moves a list in a Kanban control.
<Kanban>.AddList (Function)
Adds a new list to a Kanban control.
<Kanban>.Display (Function)
Refreshes a Kanban control or a card in the Kanban control.
<xmlNode>.ToJSON (Function)
Converts an XML string to JSON.
<xmlDocument>.ToJSON (Function)
Converts an XML string to JSON.
<Window>.EnableDDW (Function)
Enables or disables the Dim Disabled Window (DDW) feature for a specific window:
<Window>.EdLoad (Function)
Loads the modifications performed by the end user in a window.
<Image>.CoordinateToImage (Function)
Converts the coordinates of a rectangle in the Image control to the corresponding coordinates...
<Image>.CoordinateFromImage (Function)
Converts the coordinates of a rectangle in the image to the corresponding coordinates in the Image...
<Element>.RequestRefreshUI (Function)
Requests the execution of the "Request for refreshing the display" event of the specified element...
<Element>.ExecuteRefreshUI (Function)
Immediately executes the "Request for refreshing the display" event of the given element.
<Image>.DrawTextMarkdown (Function)
Draws Markdown text in an Image control.
<Component>.Load (Function)
Loads an external component independent of the current project.
<Component>.Execute (Function)
Executes a global procedure present in an external component. This external component is loaded...