ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Version: 2025

Internal procedure
Several features require a procedure called once or several times via a WLanguage function ("Callback").
Procedure/Function
A procedure is used to associate an identifier with a statement block...
Procedure (Variable type)
The Procedure type is used to handle through programming:
  • the procedures or methods found in the project.
  • the procedures or methods found in an internal component.
  • the procedures or methods found in an external component.
Declaring a procedure/a function
The different syntaxes for declaring a procedure...
Procedure Description (Variable type)
The Procedure Description type allows you to get information about a procedure or a method.
Global procedure/function
A global procedure can be used in all the processes or events of the project.
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.
Parameters of a procedure/function
You have the ability to pass parameters to a procedure.
Calling a procedure/a function
Syntax for calling a local or global procedure.
Useful parameters of a procedure
A procedure can declare some parameters that are not immediately used. In this case, a warning appears in the code editor, indicating that the local variable is not used.
Local procedure
Two types of procedures are available...
Prototype overload/Overload
The procedures and the methods of classes can have several syntaxes.
Set of procedures
The global procedures are grouped in set of procedures...
Optional parameters
Some of the parameters passed to a procedure can be optional parameters...
WEBDEV: Scheduled tasks and delayed tasks
WEBDEV allows you to implement tasks on the server directly...
Typecasting of parameters
The description of the parameter type is optional...
MyParameters (Reserved word)
The MyParameters keyword is used to handle the parameters passed to a WLanguage procedure...
Automatic documentation of procedures and methods
To simplify the maintenance or the use of existing code by other developers, WINDEV proposes an automatic documentation for the procedures (or class methods)...
Automatic procedures
The programming of timers, threads and delayed procedures is now automatically managed by the environment...
Reactive procedures
Reactive procedures are executed when the value of a control or variable changes...
SeekProcedure (Function)
Seeks a procedure identified by its name. The procedure found can be run directly.
RETURN statement
The RETURN statement is used to exit a statement block and the current process (or procedure).
Passing parameters
The parameters can be passed to a procedure...
ExecuteMainThreadAsynchronous (Function)
Executes a procedure in the main thread of the application without waiting for the end of its execution.
RETURN statement
The RETURN statement is used to exit the current event, process or procedure and return a result...
Constants used by the replication between HFSQL servers
The following constants are used by the replication between HFSQL servers:...
SOAPRun (Example)
Usage example of the SOAPRun function
SOAPGetResult (Example)
Usage example of the SOAPGetResult function
Automatic management of exceptions
The management of exceptions can be customized by process......
FTPSend (Function)
Transfers a file or directory to an FTP server (File Transfer Protocol).
BackgroundTaskAdd (Function)
Adds a new background task.
ReturnToCapture (Function)
Stops the current process and forces the input in the specified control, window or page.
SetFocusAndReturnToUserInput (Function)
Stops the current process, sets the focus to the specified control, window or page, and allows...
TotalNbChildren (Property)
The TotalNbChildren property returns the total number of children in a branch: of a Treeview...
BurnerSave (Example)
Usage example of the BurnerSave function
WINDEV, WEBDEV and WINDEV Mobile tools
The following tools are provided with WINDEV, WEBDEV and WINDEV Mobile...
BackgroundTaskDelete (Function)
Deletes a background task (that was added by BackgroundTaskAdd).
ArraySort (Function)
Sorts a WLanguage array.
SNMPTrapEnable (Function)
Enables the interception of an SNMP "trap" sent by an agent.
Visibility of the elements found in an external component
When creating an external component, you have he ability to define the elements of the external...
FTPGet (Function)
Transfers a file or directory from an FTP (File Transfer Protocol) server to the current computer.
WDSQL: Database structure
WDSQL is used to find out the structure of the accessed database......
Handling a .NET 3.0, 4.0 control, ... (WPF) through programming
WINDEV enables you to handle a .NET 3.0, 4.0 control, ... (WPF) by programming......
fTrackFile (Function)
Triggers the tracking of a file.
fTrackDirectory (Function)
Detects the modifications performed on the content of a directory.
BeaconDetectBackground (Function)
Notifies the application when the device enters or leaves the transmission range of a set...
TreeListItem (Example)
Usage example of the TreeListItem function
HSynchronizeReplica (Example)
Usage example of the HSynchronizeReplica function
Simple statements
FTPListFile (Example)
Usage example of the FTPListFile function