RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TControl.GetDockEdge Method

Returns the edge on which another control should be docked when it is dragged over the control.

Pascal
function GetDockEdge(MousePos: TPoint): TAlign; dynamic;
C++
__fastcall TAlign GetDockEdge(TPoint MousePos);

Use GetDockEdge to get the edge on which another control should be docked when it is dragged over the control. 

MousePos is the position of the mouse. 

GetDockEdge is called automatically during drag-and-dock operations involving the control. 

 

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