IPrxReportUserEvents.EventOnBeforeExecuteFormulaIsland

Syntax

Sub EventOnBeforeExecuteFormulaIsland(Args: IUiPrxFormulaIslandCancelEventArgs);

Begin

//set of operators;

End Sub EventOnBeforeExecuteFormulaIsland;

Parameters

Args - the parameter, which enables the user to determine event parameters.

Description

The EventOnBeforeExecuteFormulaIsland method implements the event that occurs before calculating formula area of the regular report.

Example

Sub EventOnBeforeExecuteFormulaIsland(Args: IUiPrxFormulaIslandCancelEventArgs);
Begin
    Args.Cancel := Not WinApplication.ConfirmationBox("Calculate area " + Args.FormulaIsland.Id + "?")
End Sub EventOnBeforeExecuteFormulaIsland;

When the event occurs, a dialog box to confirm calculation of the formula area, containing area identifier, opens. Answer Yes to calculate the formula area, otherwise it is not calculated.

See also:

IPrxReportUserEvents