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...
<Word Processing>.ToPDF (Function)
Converts a Word Processing document into a PDF file.
<Word Processing>.ToText (Function)
Creates a character string from the data of a Word Processing control.
<Word Processing>.Insert (Function)
Inserts an object in a Word Processing control. The objects that can be used are: an element,...
<Duration type>.ToString (Function)
Converts a duration to a character string in the specified format.
<EmailNotesSession variable>.GetAll (Function)
Retrieves all the emails found on a Notes server.
<EmailOutlookSession variable>.GetAll (Function)
Retrieves all the emails found on an Outlook server.
<emailAttach variable>.SaveAttachment (Function)
Copies the attachment of current email onto the user computer (locally).
<emailIMAPSession variable>.RemoveFolder (Function)
Deletes a folder on an IMAP server.
<emailOutlookSession variable>.RemoveFolder (Function)
Deletes a folder from the Outlook messaging software.
<docFragment variable>.Add (Function)
Adds an element, text or image at the end of a docFragment variable.
<Document variable>.Add (Function)
Adds at the end of a Document variable: an element, a document, a paragraph, a text, an image...
<Document variable>.StartModification (Function)
Indicates the start of a series of actions performed on a Document variable in a single event...
<Document variable>.Close (Function)
Closes the docx file associated with the Document variable and frees the document.
<Document variable>.EndModification (Function)
Indicates the end of a series of actions performed in a Document variable in a single event...
<Pivot table>.AxisXY (Function)
Allows you to: Specify the row and column headers displayed in a Pivot Table control. Find...
<Pivot table>.CalculateUpdate (Function)
Updates some of the data found in a Pivot Table control from a given date.
<Pivot table>.Load (Function)
Loads the result of the calculation performed in a Pivot Table control from a backup (file found...
<Pivot table>.Expand (Function)
Expands the data found in a Pivot Table control according to a row header or to a column header.
<Pivot table>.CalculateAll (function)
Entirely calculates or recalculates a Pivot Table control.
<Pivot table>.ExpandAll (Function)
Expands all row and/or column headers in a Pivot Table control....
<Pivot table>.Collapse (Function)
Collapses the data found in a Pivot Table control according to a row header or to a column header.
<Pivot table>.CollapseAll (Function)
Collapses all row and/or column headers in a Pivot Table control....
<Pivot table>.Filter (Function)
Enables or disables a filter on a Pivot Table control.
<Pivot table>.InfoXY (Function)
Returns the values of headers corresponding to a position in a Pivot Table control in pixels.
<Pivot table>.ListPositionHeader (Function)
Returns all values associated with a row or column header in a Pivot Table control.