IUiPrxTableIslandCancelEventArgs.Cancel

Syntax

Cancel: Boolean;

Description

The Cancel property determines whether the relational data area is to be calculated. When this parameter is set to True, relational data area in the regular report is not calculated; if this parameter is set to False, the area is calculated.

Example

Consider the event that occurs before calculation of a relational data area.

Sub EventOnBeforeExecuteTableIsland(Args: IUiPrxTableIslandCancelEventArgs);

Begin

Args.Cancel := Not WinApplication.ConfirmationBox("Calculate relational area " + Args.TableIsland.Id + "?")

End Sub EventOnBeforeExecuteTableIsland;

When this event occurs, a dialog box to confirm calculation of the relational data area, containing identifier of the area, is displayed. Select Yes to calculate the data area or No to cancel calculation.

See also:

IUiPrxTableIslandCancelEventArgs