TabSheetBox.OnCellChange

Syntax

Sub TabSheetBoxOnCellChange(Sender: Object; Args: ITabCellChangeEventArgs);

Begin

//set of operators

End Sub TabSheetBoxOnCellChange;

Parameters

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.

Description

The OnCellChange event occurs if the value of the table cell have been changed.

Example

To execute the example, this procedure has to be assigned as an event handler to the event OnCellChange for the component TabSheetBox 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:

TabSheetBox