Show contents 

Report > Report Assembly Interfaces > IReportCellContentChangeEventArgs > IReportCellContentChangeEventArgs.Value

IReportCellContentChangeEventArgs.Value

Syntax

Value: Variant;

Description

The Value property determines the table cell value.

Example

To execute the example, set this procedure as an event handler for the OnChangeCellContent event (changing table cell contents) for the ReportBox component with the ReportBox1 identifier.

Sub ReportBox1OnChangeCellContent(Sender: Object; Args: IReportCellContentChangeEventArgs);
Begin
    If Args.Type = TabCellContentChange.Formula Then
        WinApplication.InformationBox("Formula was entered: " + Args.Value);
    End If;
End Sub ReportBox1OnChangeCellContent;

If you type in or change a formula when changing the value of a table cell, the system displays a message with the formula text.

See also:

IReportCellContentChangeEventArgs.Value