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 OnBeforeRenderCell: TBeforeRenderCellEvent
property OnClick: TNotifyEvent;
property OnDblClick: TNotifyEvent;
property OnChange: TNotifyEvent;
property OnChangeSetup: TNotifyEvent;
property OnGetEditText: TGetEditEvent;
property OnHeadingChanged: TNotifyEvent;
property OnSetEditText: TSetEditEvent;
property OnKeyDown: TKeyEvent;
property OnKeyPress: TKeyPressEvent;
property OnKeyUp: TKeyEvent;
property OnMouseDown: TMouseEvent;
property OnMouseWheelDown;
property OnMouseWheelUp;
property OnMouseUp: TMouseEvent;


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). The OnChange event can be triggered programmatically by calling the method ChangedData
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. The OnChangeSetup event can be triggered programmatically by calling the method ChangedSetup.
OnBeforeRenderCell Allows to make last minute changes to the appearance of cells. For details please see OnBeforeRenderCell.
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
OnGetEditText Occurs when the in-place cell editor requests the value of a cell.
OnHeadingChanged Occurs when either the column or the row heading changes. The OnHeadingChanged event can be triggered programmatically by calling the method ChangedHeading.
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.
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.
OnMouseWheelDown Occurs when the user presses the mouse wheel button.
OnMouseWheelUp Occurs when the user releases the mouse wheel button.
OnMouseUp Occurs when the user releases a mouse button.
OnSetEditText Occurs when the user has finished editing the value of a cell.

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: 2010-Mar-11