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);
Propriétés
Type | Visibilité | Source | Unité | Parent |
---|---|---|---|---|
type typedef |
public | Vcl.Controls.pas Vcl.Controls.hpp |
Vcl.Controls | Vcl.Controls |
Description
TDragDropEvent est le type de fonction d'un événement OnDragDrop.
TDragDropEvent comprend les paramètres suivants :
Paramètre | Signification |
---|---|
Sender |
Le contrôle qui a généré l'événement. |
Source |
Le contrôle à partir duquel l'opération de déplacement a été lancée. L'objet déposé. |
X | Y |
Les coordonnées où l'opération déposer s'est produite. |