Vcl.Controls.TDragOverEvent
C++
typedef void __fastcall (__closure *TDragOverEvent)(System::TObject* Sender, System::TObject* Source, int X, int Y, System::Uitypes::TDragState State, bool &Accept);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| typedef | public | Vcl.Controls.hpp | Vcl.Controls | Vcl.Controls |
Description
TDragOverEvent is the function type for an OnDragOver event.
TDragOverEvent has the following parameters:
| Parameter | Meaning |
|---|---|
|
Sender |
The control that generated the event. |
|
Source |
The control from which the dragging operation originated, the object being dropped. |
|
X | Y |
The current mouse coordinates. |
|
State |
The current drag state. |
|
Accept |
Specifies whether the target control accepts the dragged object or not. |