PC SOFT

WINDEVWEBDEV AND WINDEV MOBILE
ONLINE HELP

Home | Sign in | English UK

  • Opening an application
  • Closing an application
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
Application : automatically executed processes / events
Opening an application
Several actions are automatically performed when opening an application. These actions are performed in the following order:
1.Initializing the user groupware (starting the windows of the user groupware if "Auto Run" is checked).
See User groupware for more details.
2.Opening the analysis associated with the project and initializing the HFSQL variables.
Remark: From version 19, HFSQL is the new name of HyperFileSQL.
3.Loading the components associated with the project.
4.Loading the sub-components (*) associated with the project.
5.Running the declaration events of the classes of the sub-components (*) associated with the project.
6.Running the declaration events of the sets of procedures of the sub-components (*) associated with the project.
7.Running the initialization events (**) of the sub-components (*) associated with the project.
8.Running the declaration events of the classes of the components associated with the project.
9.Running the declaration events of the sets of procedures of the components associated with the project.
10.Running the initialization event (**) of the components associated with the project.
11.Loading the external libraries (".WDL" file).
See Library for more details.
12.Running the declaration events of the classes of external libraries.
13.Running the declaration events of the sets of procedures of external libraries.
14.Running the declaration events of the project classes.
15.Running the declaration events of the sets of procedures of the project.
16.Running the initialization event of the project.
(*) A sub-component is a component included in a component associated with the project.
(**) The initialization event of a component is run only when the component uses the same runtime context as the project. For more details on the component generation options, see Creating and generating an external component.
Closing an application
Several actions are automatically performed when closing an application. These actions are performed in the following order:
1.Running the closing event of the project.
2.Running the closing event of the sets of procedures:
  • of the project.
  • of the external libraries (".WDL" file).
  • of the libraries loaded in memory by LoadWDL.
3.Running the closing event of the classes:
  • of the project.
  • of the external libraries (".WDL" file).
  • of the libraries loaded in memory by LoadWDL.
4.Unload the components loaded in memory: Running the closing events:
  • of components.
  • of sets of procedures of components.
  • of classes of components.
5.Unloading the sub-components(*) loaded in memory: Running the closing events:
  • of sub-components (*).
  • of sets of procedures of sub-components (*).
  • of classes of sub-components (*).
(*) A sub-component is a component included in a component associated with the project.
Minimum version required
  • Version 9
This page is also available for…
Comments
Click [Add] to post a comment