|
|
|
|
- Events run
- Opening variable
- Miscellaneous
InitWindow (Function) In french: InitFenêtre
Not available
Initializes (or not) the controls to zero and runs the initialization processes of the controls and the window.
// Initialize the controls to zero and runs their initialization processes InitWindow()
Syntax
InitWindow([<Initialization of controls>])
<Initialization of controls>: Optional boolean - True (default value) if the controls must be initialized to zero before running the initialization events of the controls,
- False if the controls must not be initialized to zero before running the initialization events of the controls.
Remarks InitWindow executes: - the "Initializing" event of the window,
- the "Initializing" event of the window controls,
- The "End of initialization" event of the window.
InitWindow does not run the event "Global declarations" of the window. When the "Initializing" event of a control is run, the Opening variable is set to: - True if the execution of the "Initializing" event of the control was triggered when the window was opened,
- False if the execution of the "Initializing" control event was triggered by InitWindow.
Therefore, the execution of the control initialization events can depend on the value of the Opening variable. - The input is performed in the first control according to the tab order defined in the editor.
- Caution: Do not confuse InitWindow with Reset, which resets all the window controls (without running the "Initializing" event of the controls).
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|