ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

Help / Managing external languages / Object functions
  • Caution
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
Others
Stored procedures
Execute (External language)
In french: Execute
Runs the code of a control or the code of a procedure in WLanguage.
Example
// In C
// Run the code of the DRAW procedure of the current window
CALLWD("Execute,DRAW.PRO");
// Run the code of the validation button
CALLWD("Execute,Validate.CLI");
// In Pascal
(* Run the code of the DRAW procedure of the current window *)
CALLWD('Execute,DRAW.PRO');
(* Run the code of the validation button *)
CALLWD('Execute,Validate.CLI');
// In VB
' Run the DRAW procedure of the current window
call CALLWD("Execute,DRAW.PRO")
' Run the code of the validation button
call CALLWD("Execute,VALIDATE.CLI")
Syntax

Running the code of a control Hide the details

Execute(<Control name> , <Type of Event>)
<Control name>: Character string
Name of control whose code will be run.
<Type of Event>: Character string
Corresponds to the code of the process in WLanguage that must be run:
  • "INI" for the initialization code
  • "ENT" for the entry code of a control
  • "SOR" for the exit code of a control
  • "CLI" for the click code on a button
  • "MOD" for the modification code of a control
  • "LEN" for the entry code of a table row
  • "LSO" for the exit code of a table row
  • "SUI" for the process code of the next one in a table
  • "PRE" for the process code of the previous one in a table
  • "AFF" for the display code of a table.

Running the code of a procedure Hide the details

Execute(<Procedure Name + ".PRO">)
<Procedure Name + ".PRO">: Character string
Name of the procedure in WLanguage that must be run.
Remarks

Caution

No parameter can be passed with Execute.
Minimum version required
  • Version 14
Comments
Click [Add] to post a comment

Last update: 05/26/2022

Send a report | Local help