RAD Studio VCL Reference
TControl.DoDock Method

Docking event dispatcher.

procedure DoDock(NewDockSite: TWinControl; var ARect: TRect); dynamic;
__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) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!