RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TDragDockObject.EndDrag Method

Called when a control is released from dragging.

Pascal
procedure EndDrag(Target: TObject; X: Integer; Y: Integer); override;
C++
virtual __fastcall EndDrag(TObject * Target, int X, int Y);

Override EndDrag in a derived class to perform actions when a control is released from dragging. 

As implemented in TDragDockObject, EndDrag calls the dragged control's DoEndDock method. 

Target is the object in which the control is docked. If the control is not docked, Target is nil (Delphi) or NULL (C++). 

X and Y are the coordinates of the control. 

 

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