RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCaptionedDockTree.Create Constructor (TWinControl)

Creates and initializes a TDockTree object.

Pascal
constructor Create(DockSite: TWinControl); override; overload;
C++
virtual __fastcall TCaptionedDockTree(TWinControl * DockSite);

Createinstantiates 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. 

Createinitializes the new dock tree to reflect any 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. 

 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!