Show contents 

Report > Report Assembly Interfaces > IReportBeforeEditEventArgs > IReportBeforeEditEventArgs.Cancel

IReportBeforeEditEventArgs.Cancel

Syntax

Cancel: Boolean;

Description

The Cancel property determines whether a table cell will be opened in the edit mode.

Comments

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