ONLINE HELP
 WINDEVWEBDEV AND WINDEV MOBILE

This content has been translated automatically.  Click here  to view the French version.
Help / Editors / Project editor
  • Opening an application
  • Closing an application
WINDEV
WindowsLinuxUniversal Windows 10 AppJavaReports and QueriesUser code (UMC)
WEBDEV
WindowsLinuxPHPWEBDEV - Browser code
WINDEV Mobile
AndroidAndroid Widget iPhone/iPadIOS WidgetApple WatchMac CatalystUniversal Windows 10 App
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.User groupware initialization (launch of user groupware windows if the "automatic launch" option is checked).
For more details on the User Groupware, see User Groupware.
2.Opening the analysis associated with the project and initializing the HFSQL variables.
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 external libraries (".WDL" file).
For more details on libraries, see Library.
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 execution 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.Unloading of 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

Last update: 07/06/2023

Send a report | Local help