[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] |
The type of an OnDockOver handler.
Source position: controls.pp line 581
type TDockOverEvent = procedure( |
Sender: TObject; |
Source: TDragDockObject; |
X: Integer; |
Y: Integer; |
State: TDragState; |
var Accept: Boolean |
) of object; |
Sender |
|
The possible drop target. |
Source |
|
The DragDock object, containing information about the dragged object. |
X |
|
X coordinate of the mouse on screen. |
Y |
|
Y coordinate of the mouse on screen. |
State |
|
The current DragState (entering, leaving or moving over the target). |
Accept |
|
Set Accept to False to reject an drop (default is True). |
An OnDockOver event is sent by a dock site, when an object is dragged over it. The handler can specify whether a drop will be accepted or rejected.
|
The type of an OnDragOver handler. |
Version 3.2 | Generated 2024-02-25 | Home |