Destructor for the class instance.
Source position: forms.pp line 633
public destructor TCustomForm.Destroy; override; |
Destroy is the overridden destructor for the class instance.
Destroy ensures that unhandled queued asynchronous calls in the Application instance are removed for the form.
Destroy disables auto-sizing to prevent resize messages while the form is being freed. Destroy frees resources allocated for the form instance, including its Icon and any allocated icon handles. The form instance is removed from Screen, and its ActionLists are freed. Destroy frees all form handlers added to the class instance.
Destroy calls the inherited destructor prior to exiting from the method.
|
The Icon associated with this Form (in minimized state). |
|
|
The TApplication singleton. |
|
|
The TScreen singleton for the application. |
|
|
Application management and configuration for a GUI application. |
|
|
Provides information about the screen display in an application. |