Sign in Join
FPDoc Onlineexperiment

TComponent.Destroy destructor

Member of TComponentpublicIn unit Classes

Destroys the instance of the component.

Declaration

pascal
destructor Destroy; override

Description

Destroy sends a opRemove notification to all components in the free-notification list. After that, all owned components are destroyed by calling DestroyComponents (and hence removed from the list of owned components). When this is done, the component removes itself from its owner's child component list. After that, the parent's destroy method is called.

See also

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.