API:FMX.TreeView.TCustomTreeView.Destroy
Delphi
destructor Destroy; override;
C++
__fastcall virtual ~TCustomTreeView();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
destructor | public | FMX.TreeView.pas FMX.TreeView.hpp |
FMX.TreeView | TCustomTreeView |
Description
Disposes of the component and its owned components.
Disposes of the component and its owned components.
FMX.TreeView.TCustomTreeView.Destroy inherits from System.Classes.TComponent.Destroy. All content below this line refers to System.Classes.TComponent.Destroy.
Disposes of the component and its owned components.
Do not call Destroy directly. Call Free instead. Free verifies that the component is not nil, and only then calls Destroy.
Never explicitly free a component in one of its own event handlers, nor free a component from the event handler of a component that it owns or contains.
To destroy a form, call its Release method. Release waits for all the form's event handlers and the event handlers of the form's components to finish executing before destroying the form.