RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomListBox.DragCanceled Method

Sends a mouse message canceling the drag-and-drop operation.

Pascal
procedure DragCanceled; override;
C++
virtual __fastcall DragCanceled();

DragCanceled is called in response to the cancellation of a drag-and-drop operation that had started. Users can cancel the operation by dropping the item over a component that does not accept the item, or by pressing Esc while dragging. 

The OnEndDrag event occurs after the call to DragCanceled. 

 

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