RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TControl.Dock Method

Used internally to dock the control.

Pascal
procedure Dock(NewDockSite: TWinControl; ARect: TRect); dynamic;
C++
__fastcall Dock(TWinControl * NewDockSite, TRect ARect);

Do not call Dock in applications. It is called automatically to implement many of the details of docking the control to a dock site. 

To dock the control programmatically, use ManualDock instead. 

The NewDockSite parameter specifies the docking site to which the control is being docked. The ARect parameter indicates the new dimensions of the control when it is docked to NewDockSite. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!