FMX.Types.IControl.DragOver
Delphi
procedure DragOver(const Data: TDragObject; const Point: TPointF; var Operation: TDragOperation);
C++
virtual void __fastcall DragOver(const TDragObject &Data, const System::Types::TPointF &Point, TDragOperation &Operation) = 0 ;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
procedure function |
public | FMX.Types.pas FMX.Types.hpp |
FMX.Types | IControl |
Description
Provides a response when a dragged object is over the control area.
Implement DragOver to provide a certain behavior when a dragged object is over the control area.
Data
specifies the dragged object.
Point
specifies the current point of the mouse cursor within the client area of the control.
Accept
specifies whether the dragged object can be dropped on the control.
TControl implements this procedure as an OnDragOver event dispatcher.