Sign in Join
FPDoc Onlineexperiment

TApplicationProperties.Destroy destructor

Member of TApplicationPropertiespublicIn unit Forms

Destructor for the class instance.

Declaration

pascal
destructor Destroy; override

Description

Destroy is the overridden destructor for the class instance. Destroy ensures that event handlers in the class instance are removed from the handlers registered in the global TApplication instance.

Event handlers are not removed from the Application variable at design-time; they were not added at design-time either.

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.