FMX.Header.THeaderItem.DragOver

From RAD Studio API Documentation
Jump to: navigation, search

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.Header.pas
FMX.Header.hpp
FMX.Header THeaderItem

Description

OnDragOver event dispatcher.

FMX.Header.THeaderItem.DragOver inherits from FMX.Controls.TControl.DragOver. All content below this line refers to FMX.Controls.TControl.DragOver.

OnDragOver event dispatcher.

Data specifies the dragged object.

Point specifies the current point of the mouse cursor 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.

A control calls DragOver when a dragged object is over the control area.

Override the protected DragOver method to provide other responses when a dragged object is over the control area.

See Also