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_ntabed
Class:TNTabEd
Declaration: property OnClick: TNotifyEvent;
property OnDblClick: TNotifyEvent;
property OnChange: TNotifyEvent;
property OnChangeSetup: TNotifyEvent;
property OnGetEditText: TGetEditEvent;
property OnSetEditText: TSetEditEvent;
property OnKeyDown: TKeyEvent;
property OnKeyPress: TKeyPressEvent;
property OnKeyUp: TKeyEvent;
property OnMouseDown: TMouseEvent;
property OnMouseUp: TMouseEvent;


OnGetEditText Occurs when the in-place cell editor requests the value of a cell.
OnSetEditText Occurs when the user has finished editing the value of a cell.
OnMouseDown Occurs when the user presses a mouse button with the mouse pointer over the control. In addition the mouse down event triggers the display of some internal popup menus.
OnMouseUp Occurs when the user releases a mouse button.
OnClick Occurs when the user clicks into the data table. For additional information, see the Delphi/C++Builder manuals.
OnDlbClick Occurs when the user double-clicks the primary mouse button when the mouse pointer is over the data table
OnKeyDown Occurs when the user presses any key on the keyboard.
OnKeyUp Occurs when the user releases any key.
OnKeyPress Occurs when the user presses a key which corresponds to an ASCII character.
OnChange The OnChange event is triggered whenever the contents of the data table are changed (either one or several data cells, or any of the identifiers, or a class number).
OnChangeSetup The OnChangeSetup event is triggered whenever a parameter is changed which effects the layout of the data table (but not the data). The following methods, properties, and popup menu actions are linked to the OnChangeSetup: dis/enable editing, change precision, mark/unmark commands, setting colors, setting decimal places, setting menu masks, setting column widths, resizing the matrix, setting numWidth, changing the visibility of attributes.

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



Last Update: 2007-Mai-19