FMX.Presentation.Style.TStyledPresentation.DragDrop
Delphi
procedure DragDrop(const Data: TDragObject; const Point: TPointF); override;
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.Presentation.Style.pas FMX.Presentation.Style.hpp |
FMX.Presentation.Style | TStyledPresentation |
Description
OnDragDrop event dispatcher.
FMX.Presentation.Style.TStyledPresentation.DragDrop inherits from FMX.Controls.TControl.DragDrop. All content below this line refers to FMX.Controls.TControl.DragDrop.
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.