PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US

  • Caution
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadApple WatchUniversal Windows 10 AppWindows Mobile
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 the control whose code must 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 required version
  • Version 14
Comments
Click [Add] to post a comment