|
|
|
|
Execute (External language) In french: Execute Runs the code of a control or the code of a procedure in WLanguage. // 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 No parameter can be passed with Execute.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|