TCustomForm.Destroy destructor
Destructor for the class instance.
Declaration
destructor Destroy; overrideDescription
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 and SnapOptions are freed. Destroy
frees all form handlers added to the class instance.
Destroy calls the inherited destructor prior to exiting from the method.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
