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



Events


Unit: SDL_gauge
Class: TScaleGauge
Declaration: property OnClick: TNotifyEvent;
property OnDblClick: TNotifyEvent;
property OnMouseMove: TMouseMoveEvent;
property OnMouseDown: TMouseEvent;
property OnMouseUp: TMouseEvent;
property OnMouseMoveInGauge: TMouseMoveInGaugeEvent;
property OnKeyDown: TKeyEvent;
property OnKeyPress: TKeyPressEvent;
property OnKeyUp: TKeyEvent;
property OnMouseWheel;
property OnMouseWheelUp;
property OnMouseWheelDown;

The OnMouseMoveInGauge event is triggered when the mouse moves within the area of the gauge control.

The OnClick and the OnDblClick events occur when the user clicks on the component. The OnClick and the OnDblClick events occur when the user clicks on the component. The events OnMouseMove, OnMouseDown, OnMouseUp, OnMouseWheel, OnMouseWheelUp, and OnMouseWheelDown support the handling of the mouse. See the Delphi (C++ Builder) documentation for more details.

Hint: The OnMouseWheel, OnMouseWheelDown, and OnMouseWheelUp events are only received by the component if it has the focus. For example, you could call the method SetFocus in the OnClick event, to ensure that TScaleGauge has the focus after the user clicked it.



Last Update: 2023-Dec-14