FMX.Controls.TControl.DragDrop
Delphi
procedure DragDrop(const Data: TDragObject; const Point: TPointF); virtual;
C++
virtual void __fastcall DragDrop(const Fmx::Types::TDragObject &Data, const System::Types::TPointF &Point);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
protected | FMX.Controls.pas FMX.Controls.hpp |
FMX.Controls | TControl |
Description
OnDragDrop event dispatcher.
Data
specifies the dragged object.
Point
specifies the current point of the mouse cursor, within the client area of the control.
A control calls DragDrop when a dragged object is dropped on the control area.
Override the protected DragDrop method to provide other responses when a dragged object is dropped on the control area.