help files
Z505 | PasWiki | FUQ | Search | Main Docs | API Guide



[Overview][Constants][Types][Classes][Procedures and functions][Variables] Reference for unit 'Classes' (#rtl)

TComponent.Destroy

Destroys the instance of the component.

Declaration

Source position: classesh.inc line 1371

public destructor TComponent.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

Notification

  

Called by components that are freed and which received a FreeNotification.

Owner

  

Owner of this component.

DestroyComponents

  

Destroy child components.

Components

  

Indexed list (zero-based) of all owned components.

Notes

 No notes exist for this page yet. 





lufdoc, Powtils, fpc, freepascal, delphi, kylix, c/c++, mysql, cgi web framework docs, Z505