Show: Delphi C++
Display Preferences

FMX.ListView.TListViewBase.MouseMove

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure MouseMove(Shift: TShiftState; X, Y: Single); override;

C++

virtual void __fastcall MouseMove(System::Classes::TShiftState Shift, float X, float Y);

Properties

Type Visibility Source Unit Parent
procedure
function
protected
FMX.ListView.pas
FMX.ListView.hpp
FMX.ListView TListViewBase

Description

OnMouseMove event dispatcher.

FMX.ListView.TListViewBase.MouseMove inherits from FMX.Controls.TControl.MouseMove. All content below this line refers to FMX.Controls.TControl.MouseMove.

OnMouseMove event dispatcher.

As the mouse cursor moves across a control, this method is called repeatedly. Each time it is called with the new coordinates that reflect the continuous path of the mouse cursor across the screen real estate covered by the control's visual representation:

  • Shift indicates which shift keys--SHIFT, CTRL, ALT, and CMD (only for Mac)--were down when the mouse cursor is over the control.
  • X and Y are the pixel coordinates of the mouse pointer within the client area of the control.

Override the protected MouseMove method to provide other responses when the mouse cursor moves over the control.

See Also

Personal tools
In Other Languages
Previous Versions
Assistance