[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
The type of an OnEndDrag handler.
Source position: controls.pp line 511
type TEndDragEvent = procedure( |
Sender: TObject; |
Target: TObject; |
X: Integer; |
Y: Integer |
) of object; |
Sender |
|
The dragged control. |
Target |
|
The drop target (control), or Nil if cancelled. |
X |
|
The mouse coordinate, in client coordinates if dropped, else in screen coordinates. |
Y |
|
The mouse coordinate, in client coordinates if dropped, else in screen coordinates. |
An OnEndDrag event is sent for a dragged control, when the drag operation is finished. This happens regardless of whether the operation was drag-drop or drag-dock, and whether the operation ended with a drop or was cancelled.
Check for an unassigned value in Target to distinguish between a drop and a cancelled operation (Nil).
|
The type of an OnDragDrop notification handler. |
|
|
The type of an OnDockDrop handler. |
Version 3.2 | Generated 2024-02-25 | Home |