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_scale
Class:TScale
Declaration: property OnClick: TNotifyEvent;
property OnContextPopup: TContextPopupEvent;
property OnDblClick: TNotifyEvent;
property OnMouseMove: TMouseMoveEvent;
property OnMouseDown: TMouseEvent;
property OnMouseUp: TMouseEvent;
property OnScaleTickDrawn: TScaleTickDrawnEvent;
property OnBeforeScaleRendered: TScaleRenderedEvent;
property OnAfterScaleRendered: TScaleRenderedEvent;

The OnClick and the OnDblClick events occur when the user clicks on the component. The events OnMouseMove, OnMouseDown, and OnMouseUp support the handling of the mouse. The OnScaleTickDrawn allows to customize the scale. The events OnAfterScaleRendered and OnBeforeScaleRendered offer to draw either below or on top of the scale graphics. The event OnContextPopup is triggered when the context menu is invoked. See the Delphi (C++ Builder) documentation for more details.



Last Update: 2012-Oct-20