RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TControl.PositionDockRect Method

Positions the docking rectangle according to the current drag-and-dock state.

Pascal
procedure PositionDockRect(DragDockObject: TDragDockObject); dynamic;
C++
__fastcall PositionDockRect(TDragDockObject DragDockObject);

Use PositionDockRect to adjust the docking rectangle of the drag-and-dock object specified by DragDockObject. DragDockObject's DockRect property is updated to reflect the current drag-and-dock state. This updating process makes use of the UndockWidth, UndockHeight, LRDockWidth, or TBDockHeight property, as appropriate. 

 

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