RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TControl.DoDock Method

Docking event dispatcher.

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

DoDock is called automatically as part of the docking process. It updates the control's dimensions and causes it to repaint. 

NewDockSite is the control's new dock site. This value can be nil (Delphi) or NULL (C++) or NullDockSite (a constant that indicates no dock site). 

ARect specifies the control's new dimensions once it is docked to NewDockSite. 

 

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