TabSheetBox.OnEditorTextChanged

Fore Syntax

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

Begin

//set of operators;

End Sub OnEditorTextChanged;

Fore.NET Syntax

Sub OnEditorTextChanged(sender: System.Object; Args: Prognoz.Platform.Interop.Tab.TabEditorEventArgs);

Begin

//set of operators;

End Sub;

Parameters

Sender. Parameter returning the component that has generated the event

Args. Parameter allowing 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.

Fore 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.

Fore.NET Example

The requirements and result of the Fore.NET Example execution match with those in the Fore Example. Use Fore.NET analogs instead of the Fore components.

Private Sub tabSheetBoxNet1_OnEditorTextChanged(Sender: System.Object; Args: Prognoz.Platform.Interop.Tab.TabEditorEventArgs);
Begin
    System.Diagnostics.Debug.WriteLine("Data changes in row: "+ Args.Editor.Row.ToString() + 
        ", in column:" + Args.Editor.Column.ToString());
End Sub;

See also:

TabSheetBox