Sub EventOnBeforeExecuteFormulaIsland(Args: IUiPrxFormulaIslandCancelEventArgs);
Begin
//set of operators;
End Sub EventOnBeforeExecuteFormulaIsland;
Args - the parameter, which enables the user to determine event parameters.
The EventOnBeforeExecuteFormulaIsland method implements the event that occurs before calculating formula area of the regular report.
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: