[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
Signals the OnDestroy event handler for the form instance.
Source position: forms.pp line 649
protected procedure TCustomForm.DoDestroy; virtual; |
DoDestroy is a method used to signal the OnDestroy event handlers assigned for the form instance. If an Exception occurs in the event handler, it is handled in the method when HandleDestroyException is set to True. When set to False, the exception is re-raised in the method.
DoDestroy is called from the BeforeDestruction method, and allows the application to perform actions needed before the form instance is physically freed. It is called after the form has been removed from the focus list for the Screen, hidden by calling the Hide method, and merged menu items have been removed from the MainForm for the Application.
|
Handler called when the form is destroyed. |
|
|
Placeholder for exception handlers in derived classes. |
|
|
Performs actions before the form instance is physically freed. |
|
|
Hides the control by setting the Visible property to False. |
|
|
The main menu for the form instance. |
|
|
The TScreen singleton for the application. |
|
|
Provides information about screen displays in an application. |
|
|
The TApplication singleton. |
|
|
Application management and configuration for a GUI application. |
Version 3.2 | Generated 2024-02-25 | Home |