Vcl.StdCtrls.TCustomListBox.DragCanceled
Delphi
procedure DragCanceled; override;
C++
DYNAMIC void __fastcall DragCanceled();
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | Vcl.StdCtrls.pas Vcl.StdCtrls.hpp |
Vcl.StdCtrls | TCustomListBox |
Description
Sends a mouse message canceling the drag-and-drop operation.
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.