TabSheetBox.OnEditorTextChanged

Syntax

Sub OnEditorTextChanged(Sender: Object; Args: ITabEditorEventArgs);

Begin

//set of operators;

End Sub OnEditorTextChanged;

Parameters

Sender. The parameter that returns the component that generated the event.

Args. The parameter that enables the user to determine event parameters.

Description

The OnEditorTextChanged event occurs on data editing of table cell.

Comments

The event occurs before the TabSheetBox.OnBeforeCellChange event and can be used to analyze entered data.

By default the event is not traced for the table. To include the event in the list of traced ones, use the ITabSheet.EventMask property.

Example

Executing the example requires a form containing the TabSheetBox component with the TabSheetBox1 identifier and the UiTabSheet component with the UiTabSheet1 identifier. Set the UiTabSheet1 component as a data source for the TabSheetBox1 component.

Sub TabSheetBox1OnEditorTextChanged(Sender: Object; Args: ITabEditorEventArgs);
Begin
    Debug.WriteLine("Data changes in row: "+ Args.Editor.Row.ToString + 
        ", in column:" + Args.Editor.Column.ToString);
End Sub TabSheetBox1OnEditorTextChanged;

As a result of executing the example, on each data changes in the cell, the console window will display information about row and column where there are changes.

See also:

TabSheetBox