ITabCellChangeEventArgs.Value

Syntax

Value: Variant;

Description

The Value property returns the changed cell value.

Example

Executing the example requires a form. The following components are placed on the form: a TabSheetBox component and a UiTabSheet component named UiTabSheet1 that is used as a data source for TabSheetBox. This procedure is used as a handler of the OnCellChange event.

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 is executed, the variable v contains a new value of the modified cell.

See also:

ITabCellChangeEventArgs