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

TControl.Destroy

Removes the control from its Parent.

Declaration

Source position: controls.pp line 1557

public destructor TControl.Destroy; override;

Description

Detaches the control from Parent, removes graphics, frees memory and Operating System handles, pointers etc.

See also

TComponent.Destroy

TLCLComponent.Destroy

The latest version of this document can be found at lazarus-ccr.sourceforge.net.