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_numlab
Class: TNumLab
Declaration: property OnBeforeDisplay: TBeforeDisplayEvent;
property OnClick: TNotifyEvent;
property OnDblClick: TNotifyEvent;
property OnMouseMove: TMouseMoveEvent;
property OnMouseDown: TMouseEvent;
property OnMouseUp: TMouseEvent;

The OnBeforeDisplay event allows to adjust the text displayed by the TNumLab component. 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. See the Delphi (C++ Builder) documentation for more details.

Example: Some of these events are used in the following example program (see http://www.lohninger.com/examples.html for downloading the code): simplegeomap



Last Update: 2023-Dec-14