PC SOFT

ONLINE HELP
FOR WINDEV, WEBDEV AND WINDEV MOBILE

Home | Sign in | English US
  • Processes 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 controls and window.
WEBDEV - Server code PageInitialization can also be used.
Versions 15 and later
Android This function is now available for the Android applications.
Java This function is now available for the Java applications.
New in version 15
Android This function is now available for the Android applications.
Java This function is now available for the Java applications.
Android This function is now available for the Android applications.
Java This function is now available for the Java applications.
Versions 16 and later
WINDEVLinux This function is now available for the WINDEV applications in Linux.
New in version 16
WINDEVLinux This function is now available for the WINDEV applications in Linux.
WINDEVLinux This function is now available for the WINDEV applications in Linux.
Versions 17 and later
iPhone/iPad This function is now available for the iPhone/iPad applications.
New in version 17
iPhone/iPad This function is now available for the iPhone/iPad applications.
iPhone/iPad This function is now available for the iPhone/iPad applications.
Versions 18 and later
Android Widget This function is now available in Android Widget mode.
New in version 18
Android Widget This function is now available in Android Widget mode.
Android Widget This function is now available in Android Widget mode.
Example
// Initializes the controls to zero and runs the initialization processes of controls
InitWindow()
Syntax
InitWindow([<Initialization of Controls>])
<Initialization of Controls>: Optional boolean
  • True if the controls must be initialized to zero before running the initialization processes of controls,
  • False if the controls must not be initialized to zero before running the initialization processes of controls.
Remarks

Processes run

InitWindow runs:
  • the initialization process of window,
  • the initialization process of controls.
InitWindow does not run the "Global declaration" process of the window.

Opening variable

When the initialization process of a control is run, the Opening variable is set to:
  • True if the execution of the "Initialization process of the window" was triggered by the window opening,
  • False if the execution of the "Initialization process of the window" was triggered by InitWindow.
Therefore, the execution of the initialization processes of controls 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 that resets all the window controls (without running the initialization process of controls).
Components
WINDEVReports and Queries wd230obj.dll
WEBDEV - Server code wd230page.dll
Windows Mobile wp230obj.dll
Java wd230java.jar
Linux wd230obj.so
Android wd230android.jar
Minimum required version
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment