FireDAC.Comp.Client.TFDCustomManager.Destroy
Delphi
destructor Destroy; override;
C++
__fastcall virtual ~TFDCustomManager();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
destructor | public | FireDAC.Comp.Client.pas FireDAC.Comp.Client.hpp |
FireDAC.Comp.Client | TFDCustomManager |
Description
Disposes of the component and its owned components.
FireDAC.Comp.Client.TFDCustomManager.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.