|
|
|
|
|
- Executing the event of a control or procedure from a window/page other than the current window/page
- String passed as a parameter to Execute
- The arrays
- Opening the window/page
- Calling a global component procedure
- Using specific functions
- Executing the event associated with a control
Execute (Function) In french: Execute Starts the execution of a process through programming. This function is mainly used to run procedures. For backward compatibility, the process run can also be the process of a control, window or page. In these different cases, we recommend that you use ExecuteProcess.
// Run a procedure Execute("Proced1")
// -- Click on BTN_BUTTON1 button // Run a procedure that returns a result Info(Execute("Double_Number", 2)) // Displays 4
// Double_Number procedure PROCEDURE Double_Number(X) RESULT 2*X
Syntax
Running the process of a control (syntax kept for backward compatibility) Hide the details
Execute(<Control name> , <Process>)
<Control name>: Character string Name of control associated with the process to run. <Process>: Character string Process to run: | | Click | Click code of control (or menu option) | Exit | Exit code of control
| Entry | Entry code of control
| Initialization | Initialization code of control
| Previous | Code used to read the previous record (browsing table in programmed browse only)
| Next | Code used to read the next record (browsing table in programmed browse only)
| Display | Code used to display a row (table only)
| RExit | Code used to exit from a table row
| REntry | Code used to enter in a table row
| END | Code used to read the last record (table only)
| Modify | Whenever Modified code of control
| DBL | Code for double-clicking a treeview element
| CLD | Code for right-clicking a treeview element
| CLI | Click (OnClick) (browser code)
| KDN | Key down (OnKeyDown) (browser code)
| KPR | Key pressed and released (OnKeyPressed) (browser code)
| KUP | Key up (OnKeyUp) (browser code)
| MDN | Mouse button down (OnMouseDown) (browser code)
| MMV | Mouse moves over the control (OnMouseMove) (browser code)
| MOU | Mouse exits from the control (OnMouseOut) (browser code)
| MOV | Mouse enters in the control (OnMouseOver) (browser code)
| MUP | Mouse button up (OnMouseUp) (browser code)
| BLU | Loss of focus (OnBlur) (browser code)
| CHG | Modification (OnChange) (browser code)
| FOC | Gain of focus (OnFocus) (browser code)
| SEL | Selected text (OnSelect) (browser code)
| HLP | F1 key (OnHelp) (browser code)
|
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|