Sub TabSheetBoxOnCellChange(Sender: Object; Args: ITabCellChangeEventArgs);
Begin
//set of operators
End Sub TabSheetBoxOnCellChange;
Sender - a parameter, indicating the component, in which the event has occurred.
Args - a parameter, which allows to define the cell, which has been edited.
The OnCellChange event occurs if the value of the table cell have been changed.
Executing the example requires this procedure is set as the OnCellChange event handler for the TabSheetBox component with the TabSheetBox1 identifier.
Sub TabSheetBox1OnCellChange(Sender: Object; Args: ITabCellChangeEventArgs);
Var
v, v1: Variant;
Begin
v:=Args.TabSheet.Source.GetTabSheet.CellValue(Args.Row, Args.Column);
v1:=Args.Value;
End Sub TabSheetBox1OnCellChange;
After the event has occurred, the variable «v» will contain the new value of the changed cell.
See also: