FMX.StdCtrls.TRadioButton.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
public
FMX.StdCtrls.pas
FMX.StdCtrls.hpp
FMX.StdCtrls TRadioButton

Description

OnMouseMove event dispatcher.

FMX.StdCtrls.TRadioButton.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