Sub EventOnBeforeExecuteDataIsland(Args: IUiPrxDataIslandCancelEventArgs);
Begin
// set of operators
End Sub EventOnBeforeExecuteDataIsland;
Args - the parameter, which enables the user to work with event parameters.
The EventOnBeforeExecuteDataIsland method implements the event that occurs before calculating a data area of the regular report.
Sub EventOnBeforeExecuteDataIsland(Args: IUiPrxDataIslandCancelEventArgs);
Begin
Args.Cancel := Not WinApplication.ConfirmationBox("Calculate area " + Args.DataIsland.Id + "?")
End Sub EventOnBeforeExecuteDataIsland;
When the event occurs, a dialog box to confirm calculation of the data area, containing identifier of the area, opens. Answer Yes to calculate the data area, otherwise it is not calculated.
See also: