RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TControl.EndDrag Method

Stops a control from being dragged any further.

Pascal
procedure EndDrag(Drop: Boolean);
C++
__fastcall EndDrag(Boolean Drop);

Use EndDrag to stop a dragging operation that began with a call to the BeginDrag method. 

If the Drop parameter is true, the control being dragged is dropped or docked. If the Drop parameter is false, the control is not dropped or docked and dragging is canceled. 

 

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