FMX.Forms.TCommonCustomForm.DragOver
Delphi
procedure DragOver(const Data: TDragObject; const Point: TPointF; var Operation: TDragOperation); virtual;
C++
virtual void __fastcall DragOver(const Fmx::Types::TDragObject &Data, const System::Types::TPointF &Point, Fmx::Types::TDragOperation &Operation);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
procedure function |
public | FMX.Forms.pas FMX.Forms.hpp |
FMX.Forms | TCommonCustomForm |
Description
Executes when you drag an object over the surface of this form.
Override DragOver to add additional code that executes when you drag an object over the surface of this form. DragOver sets the Accept parameter to True to indicate that you can drop the dragged object on this form. It sets Accept to False to indicate that you cannot drop the dragged object on this form.
The Data parameter is the object being dragged.
Point indicates the current position of the mouse.