RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomForm.Dock Method

Handles automatic docking of the form into other windows.

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

Do not call Dock in application code. It is called automatically when the form is released on a docking site that will accept it. To dock a form programmatically, use the ManualDock method instead. 

 

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