FMX.Types.IControl.MouseMove

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

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

C++

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

Properties

Type Visibility Source Unit Parent
procedure
function
public
FMX.Types.pas
FMX.Types.hpp
FMX.Types IControl

Description

Provides a response when the mouse cursor moves over the control.

Implement MouseMove to provide a certain behavior when the mouse cursor moves over the control.

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.

TControl implements this procedure as an OnMouseMove event dispatcher.

See Also