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 OnAttributeChanged: TNotifyEvent;
property OnBeforePopup: TBeforePopupEvent;
property OnBeforeRenderCell: TBeforeRenderCellEvent;
property OnCellStateChanged: TNotifyEvent;
property OnChange: TNotifyEvent;
property OnChangeSetup: TNotifyEvent;
property OnClick: TNotifyEvent;
property OnDblClick: TNotifyEvent;
property OnGetEditText: TGetEditEvent;
property OnHeadingChanged: TNotifyEvent;
property OnKeyDown: TKeyEvent;
property OnKeyPress: TKeyPressEvent;
property OnKeyUp: TKeyEvent;
property OnLayoutChanged: TNotifyEvent;
property OnMouseDown: TMouseEvent;
property OnMouseMove: TMouseMoveEvent;
property OnMouseUp: TMouseEvent;
property OnMouseWheelDown;
property OnMouseWheelUp;
property OnPaste: TNotifyEvent;
property OnPercentDone: TOnPercentDoneEvent;
property OnSelectionChanged: TNotifyEvent;
property OnSetEditText: TSetEditEvent;
property OnTopLeftChanged: TNotifyEvent;

OnAttributeChanged Occurs when either the column or the row attribute changes. See OnAttributeChanged for details.
OnBeforePopup The event OnBeforePopup occurs immediately before a context menu is popping up. For details please see OnBeforePopup.
OnBeforeRenderCell Allows to make last minute changes to the appearance of cells. For details please see OnBeforeRenderCell.
OnCellStateChanged The OnCellStateChanged event is triggered whenever the state of one or several cells is changed. For details please see OnCellStateChanged.
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.
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. See OnHeadingChanged for details.
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.
OnLayoutChanged Occurs when either the column or the row heading changes. See OnLayoutChanged for details.
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.
OnMouseMove Occurs when the mouse moves over the control.
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.
OnPaste Occurs when the user pastes data into the data table. See OnPaste for details.
OnPercentDone Provides a feedback during read/write operations. See OnPercentDone for details.
OnSelectionChanged Occurs when the selection changes. See OnSelectionChanged for details.
OnSetEditText Occurs when the user has finished editing the value of a cell.
OnTopLeftChanged Occurs when the top row or the left column changes. See OnTopLeftChanged for details.

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: 2013-Apr-25