Vcl.Controls.TDragOverEvent
Delphi
TDragOverEvent = procedure(Sender, Source: TObject; X, Y: Integer;
State: TDragState; var Accept: Boolean) of object;
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 |
---|---|---|---|---|
type typedef |
public | Vcl.Controls.pas 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. |