Vcl.Controls.TDragDropEvent
Delphi
TDragDropEvent = procedure(Sender, Source: TObject;
X, Y: Integer) of object;
C++
typedef void __fastcall (__closure *TDragDropEvent)(System::TObject* Sender, System::TObject* Source, int X, int Y);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
type typedef |
public | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | Vcl.Controls |
Description
TDragDropEvent is the function type for an OnDragDrop event.
TDragDropEvent 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 coordinates where the drop occurred. |