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...
<Diagram editor>.SelectPlus (Function)
Selects a shape in a Diagram Editor control.
<Diagram editor>.Save (Function)
Saves a diagram as a "diag" file.
<Diagram editor>.SelectMinus (Function)
Deselects a shape in a Diagram Editor control.
<Diagram variable>.ToImage (Function)
Exports a diagram to a variable of type Image.
<diagLibrary variable>.LoadLibrary (Function)
Loads a diagram file and creates a library of preset shapes from it.
<Diagram variable>.Load (Function)
Loads a diagram into a Diagram variable from a ".wddiag" file, a memo or a binary buffer.
<diagShape variable>.ToImage (Function)
Creates an image from a shape in a diagram (the shape can be displayed or not in the diagram).
<Scanner variable>.Capability (Function)
Used to determine if a scanner has a given capability.
<WDPic variable>.DrawTextMarkdown (Function)
Draws Markdown text in a variable of type WDPic.
<picLayer variable>.DrawTextMarkdown (Function)
Draws Markdown text in a variable of type picLayer.
<Image variable>.DrawTextMarkdown (Function)
Draws Markdown text in a variable of type Image.
<sshSession variable>.SCPGetFile (Function)
Gets a file via the Secure Copy Protocol.
<sshSession variable>.SCPSendFile (Function)
Transfers files via the Secure Copy Protocol.
<PDF reader>.GoToBookmark (Function)
Sets the position directly on the desired bookmark in the PDF document.
<Kanban list>.PositionList (Function)
Allows you to scroll through a list of a Kanban control to display a specific card.
<Kanban list>.DeleteCard (Function)
Deletes a card from a Kanban control or from a Kanban List control.
<Kanban list>.DeleteAllCard (Function)
Deletes all cards from a Kanban control or Kanban List control.
<Kanban list>.ListIndex (Function)
Returns the index of a list in a Kanban control.
<Kanban list>.InsertCard (Function)
Inserts a card in a Kanban list.
<xlsDocument variable>.MergeCell (Function)
Merges the specified cells in an Excel document.
<xlsDocument variable>.UnmergeCell (Function)
Unmerges a given cell.
<htmlNode variable>.UnwrapAllChildren (Function)
Deletes the specified node in an HTML document without deleting its children, which take its place.
<htmlNode variable>.Wrap (Function)
Wraps the specified node in a given node of an HTML document.
<htmlNode variable>.WrapAllChildren (Function)
Wraps all children of the given node in a new node in an HTML document.
<htmlNode variable>.InsertAfter (Function)
Adds a node after the specified node in an HTML document.