Show: Delphi C++
Display Preferences

FMX.Types.TControl.MouseMove

From XE2 API Documentation
Jump to: navigation, search

Delphi

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

C++

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

Properties

Type Visibility Source Unit Parent
procedure
function
protected
FMX.Types.pas
FMX.Types.hpp
FMX.Types TControl

Description

OnMouseMove event dispatcher.

Shift indicates which shift keys (SHIFT, CTRL, or ALT) 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.

As the mouse cursor moves across a control, this method is called repeatedly. Each time it is called, it is 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.

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

See Also

Personal tools
Previous Versions
Translations