Vcl.Controls.TDockTree.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(DockSite: TWinControl); virtual;

C++

__fastcall virtual TDockTree(TWinControl* DockSite);

Properties

Type Visibility Source Unit Parent
constructor public
Vcl.Controls.pas
Vcl.Controls.hpp
Vcl.Controls TDockTree

Description

Creates and initializes a TDockTree object.

Create instantiates a new TDockTree object to manage docking operations for the control specified by the DockSite parameter. Typically, applications do not create TDockTree objects. Instead, the windowed control that is the value of the DockSite parameter creates the dock tree when an application sets its UseDockManager property to true.

DockSite is the windowed control that uses the dock tree to manage the docking of child controls. It becomes the value of the DockSite property.

Create initializes the new dock tree to reflect the controls currently docked in DockSite. It then replaces the WindowProc property of DockSite with a method that handles all docking-related messages, passing any other messages on to DockSite's previous window procedure.

See Also