The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....


Unit: SDL_gauge
Class: TScaleGauge
Declaration: property OnMouseMoveInGauge: TMouseMoveInGaugeEvent;
{ TMouseMoveInGaugeEvent = procedure (Sender: TObject; InGauge: boolean; Shift: TShiftState; rMousePos: double) of object; }

The OnMouseMoveInGauge event occurs when the mouse moves over the gauge control. In contrast to the OnMouseMove event this event returns additional information about the mouse position in terms of the gauge scale.

The parameter InGauge is TRUE, if the mouse cursor is within the inner frame of the gauge. The parameter Shift returns the state of the mouse buttons, and the parameter rMousePos returns the mouse position translated to the gauge scale.

Last Update: 2012-Okt-20