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.
<emailIMAPSession variable>.StartSession (Function)
Starts an IMAP session.
<EmailNotesSession variable>.StartSession (Function)
Starts a Notes session.
<EmailOutlookSession variable>.StartSession (Function)
Starts an Outlook section.
<emailSMTPSession variable>.StartSession (Function)
Starts an SMTP session.
<Word Processing>.Add (Function)
Adds at the end of a Word Processing control: an element, a document, a paragraph, a text, an image...
<Word Processing>.GoIntoEdit (Function)
Enters in edit in the Word Processing control in a specific document section: body, header...
<Word Processing>.Close (Function)
Closes the docx file associated with the Word Processing control and frees the document.
<emailIMAPSession variable>.NbMessage (Function)
Returns the number of incoming messages in an IMAP session.
<Word Processing>.EndModification (Function)
Indicates the end of a series of actions performed in a Word Processing control in a single event...
<Word Processing>.Print (Function)
Prints the content of a Word Processing control in "docx" format.
<Word Processing>.InsertTable (Function)
Inserts a table into a Word Processing control.
<Word Processing>.Open (Function)
Opens a Word Processing file (docx format) in Read/Write mode. The docx file is opened and locked...
<Word Processing>.Position (Function)
Triggers the scroll of Word Processing control in order for the requested text to be entirely...
<Word Processing>.Seek (Function)
Finds a character string in an entire Word Processing control.
<Word Processing>.Redo (Function)
Restores the last undone action on a Word Processing control.
<Word Processing>.RedoCount (Function)
Returns the number of canceled actions that can be redone on a Word Processing control.
<Word Processing>.Replace (Function)
Finds all the instances of a character string and replaces them with another string in a Word...
<Word Processing>.Save (Function)
Saves a document as a "docx" file.
<Word Processing>.Select (Function)
Selects a fragment in a Word Processing control.
<Word Processing>.ExitEdit (Function)
Exits from the current edit. The entry in edit was performed by DocGoIntoEdit.
<Word Processing>.Undo (Function)
Undoes the last action performed on a Word Processing control.
<Word Processing>.UndoCount (Function)
Returns the number of actions that can be undone in a Word Processing control.
<Word Processing>.UndoRedoDeleteAll (Function)
Deletes the entire history of the Undo/Redo mechanism for a Word Processing control....
<Word Processing>.ToHTML (Function)
Converts the content of a Word Processing control into an HTML file.
<Word Processing>.ToImage (Function)
Exports a page from a Word Processing control in image format.