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