IReportBeforeEditEventArgs.Cancel

Syntax

Cancel: Boolean;

Description

The Cancel property determines whether a table cell is to be switched to the edit mode. If the property is set to True, the edit mode cannot be enabled.

Example

The following example assumes that there is the ReportBox1 object with the ReportBox type.

Sub ReportBox1OnBeforeEdit(Sender: Object; Args: IReportBeforeEditEventArgs);

Begin

Args.Cancel := True;

End Sub ReportBox1OnBeforeEdit;

Editing report cells is forbidden.

See also:

IReportBeforeEditEventArgs