|
|
|
|
|
- Opening an application
- Closing an application
Automatically executed processes / events in 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 "Automatic start" 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 the 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. 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 components loaded in memory. Execution of closing events:- of components.
- of sets of procedures of components.
- of classes of components.
| 5. | Unloading sub-components(*) loaded in memory. Execution of 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.
This page is also available for…
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|