PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK
  • Events run
  • Opening variable
  • Various
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
InitWindow (Function)
In french: InitFenêtre
AjaxNot available
Initializes (or not) the controls to zero and runs the initialization processes of the controls and the window.
Example
// 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

Events run

InitWindow runs:
  • 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.

Opening variable

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 the 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.

Various

  • 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).
Component : wd240obj.dll
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment