Sub OnEditorTextChanged(Sender: Object; Args: ITabEditorEventArgs);
Begin
//set of operators;
End Sub OnEditorTextChanged;
Sub OnEditorTextChanged(sender: System.Object; Args: Prognoz.Platform.Interop.Tab.TabEditorEventArgs);
Begin
//set of operators;
End Sub;
Sender. Parameter returning the component that has generated the event
Args. Parameter allowing to determine event parameters.
The OnEditorTextChanged event occurs on data editing of table cell.
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.
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.
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: