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....



OnGaugeChange


Unit: SDL_numio
Class: TNumIO2
Declaration: property OnGaugeChange: TOnGaugeChangeEvent;
{ TOnGaugeChangeEvent = procedure (Sender: TObject; Shift: TShiftState; GaugeValue: double) of object; }

The OnGaugeChange event is triggered when the user changes the gauge bar by mouse interaction. The parameter GaugeValue contains the current gauge value, the parameter Shift reflects the state of the Shift, Alt and Ctrl keys and the state of the mouse buttons.

Please note that the OnGaugeChange event is different from the OnChange event. The OnGaugeChange event occurs during the interactive change of the gauge (i.e. whenever the mouse moves over the gauge bar with the left button down), while the OnChange event occurs after the left button has been released.


Last Update: 2023-Dec-14