Vcl.CaptionedDockTree.TCaptionedDockTree.Destroy

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

destructor Destroy; override;

C++

__fastcall virtual ~TCaptionedDockTree();

Properties

Type Visibility Source Unit Parent
destructor public
Vcl.CaptionedDockTree.pas
Vcl.CaptionedDockTree.hpp
Vcl.CaptionedDockTree TCaptionedDockTree

Description

Frees the memory associated with the TDockTree object.

Vcl.CaptionedDockTree.TCaptionedDockTree.Destroy inherits from Vcl.Controls.TDockTree.Destroy. All content below this line refers to Vcl.Controls.TDockTree.Destroy.

Frees the memory associated with the TDockTree object.

Do not explicitly destroy TDockTree objects. As interfaced objects, dock trees are destroyed automatically when the reference count of their IDockManager interface drops to zero.

Destroy detaches the dock tree from the windowed control specified by the DockSite property, restoring its WindowProc property to the value it had when it called the TDockTree constructor.

See Also