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...
DotNetRunXML (Function)
Runs a procedure on a server for .Net XML Web services.
Automated tests of procedures and classes
The automated tests of procedure or class are used to test the different features proposed...
XamlEvent (Function)
Associates a procedure written in WLanguage with an event of Xaml control.
JSEvent (Function)
Associates a browser procedure with an event on an object in browser code.
ExecuteMainThread (Function)
Triggers the execution of the procedure specified in the main application thread.
<Xaml>.Event (Function)
Associates a procedure written in WLanguage with an event of Xaml control.
WebSocketExecute (Function)
Executes a procedure in the context of a client connected to the WebSocket server.
SessionPrologue (Function)
Enables or disables a WLanguage procedure called on each request in a session.
ActiveXEvent (Function)
Associates a procedure written in WLanguage with an event of ActiveX control.
J2EEAddHeader (Function)
Adds a header to the next procedure that will be run on the server.
SOAPGetResult (Function)
Returns the result of the last SOAP procedure that was successfully run.
Global and local variable
Two types of variables are available......
DotNetGetResult (Function)
Returns the result of the last .Net procedure that was successfully run.
DotNetAddHeader (Function)
Adds a header to the next procedure that will be run on the server.
AJAXCancelAsynchronousCall (Function)
Cancels the automatic execution of the browser procedure called by AJAXExecuteAsynchronous.
Deploying a Java archive
Like for any application, WINDEV allows you to create a setup program for a Java application......
Page with parameters
ActionClick (Property)
The ActionClick property is used to define the procedure executed when an element is clicked.
SpreadsheetAllowProcedure (Function)
Allows the use of a WLanguage function/procedure in a formula of a Spreadsheet control....
geoTrackingProcedure (Function)
Defines the WLanguage procedure that will be called when the location of the user changes.
<Spreadsheet>.AllowProcedure (Function)
Allows the use of a WLanguage function/procedure in a formula of a Spreadsheet control....
ByReference (Property)
The ByReference property is used to determine if a procedure parameter was passed by reference.
ByAddress (Property)
The ByAddress property is used to determine if a procedure parameter was passed by address.
1
4
5
6
7
8
40
>