|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....|
|Home GuiPack Meter Events OnMouseMoveInMeter|
|See also: Events, TMouseMoveInMeterEvent|
The OnMouseMoveInMeter event occurs when the mouse moves over the meter control. In contrast to the OnMouseMove event this event returns additional information about the mouse position in terms of the meter value.
The parameter WithinRange is TRUE, if the mouse cursor is within the range of the meter (i.e. within the sector spanned by the meter scale and the anchor of the meter). The parameter Shift returns the state of the mouse buttons, and the parameter MeterValue returns the mouse position translated to the meter value. MeterValue is only valid if WithinRange is TRUE (otherwise a zero value is returned)