FMX.Types.TDragOverEvent
Delphi
TDragOverEvent = procedure(Sender: TObject; const Data: TDragObject; const Point: TPointF;
var Operation: TDragOperation) of object;
C++
typedef void __fastcall (__closure *TDragOverEvent)(System::TObject* Sender, const TDragObject &Data, const System::Types::TPointF &Point, TDragOperation &Operation);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
type typedef |
public | FMX.Types.pas FMX.Types.hpp |
FMX.Types | FMX.Types |
Description
Type of event handler for the FMX.Controls.TControl.OnDragOver event. It occurs when a dragged object is over the area of the current control.
This type of event handler has the following arguments:
Sender
is a pointer to the object that called this function.Data
is the dragged object.Point
is the current point of the mouse pointer within the client area of the control.Operation
is the operation parameter (None, Move, Copy, Link) that specifies the action to perform when an item is dragged over the object.None
is the default. No action takes place, it does not display any name.Move
- the word Move is displayed once an item is dragged over the object.Copy
- the word Copy is displayed once an item is dragged over the object.Link
- the word Link is displayed once an item is dragged over the object.