FMX.ExtCtrls.TDropTarget.DragOver
Delphi
procedure DragOver(const Data: TDragObject; const Point: TPointF; var Operation: TDragOperation); override;
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 |
protected | FMX.ExtCtrls.pas FMX.ExtCtrls.hpp |
FMX.ExtCtrls | TDropTarget |
Description
OnDragOver event dispatcher.
DragOver inherits from TControl.DragOver. Additionally, DragOver determines whether the drag object is accepted by the TDropTarget control, according to the Filter and FilterIndex properties. If the value determined by the CurrentFilter function matches at least one of the file names of the drag object, DragOver updates the Operation parameter, assigning it a TDragOperation.Move value; otherwise the value of Operation stays as TDragOperation.None (as set by the caller, DragEnter).