RAD Studio VCL Reference
TToolDockObject.AdjustDockRect Method

Adjusts the value of DockRect to reflect the dragged control's current status.

procedure AdjustDockRect(ARect: TRect); override;
virtual __fastcall AdjustDockRect(TRect ARect);

AdjustDockRect is called automatically at points during the drag operation to adjust the value of the DockRect property. The adjustment ensures that the position where the control is docked reflects the current mouse position, and, if the control is floating, reflects the size and shape of the control's floating dock site. 


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