IPrxReportUserEvents.EventOnAfterAddTableIsland

Syntax

Sub EventOnAfterAddTableIsland(Args: IUiPrxTableIslandEventArgs);
Begin
   
//set of operators;
End Sub EventOnAfterAddTableIsland;

Parameters

Args. The parameter that enables the user to work with event parameters.

Description

The EventOnAfterAddTableIsland method implements the event that occurs after adding a relational data area.

Comments

To implement the event that occurs after deleting relational data area, use the IPrxReportUserEvents.EventOnAfterDeleteTableIsland method.

Example

Executing the example requires a regular report. Connect a unit to the regular report, select the connected unit an the EventsClass class as an event handler. Add links to the Metabase, Report, Ui system assemblies in the unit.

Class EventsClass: ReportEvents
Public Sub OnAfterAddTableIsland(TableIsland : IPrxTableIsland);
Begin
    WinApplication.InformationBox("Relational data area is added " + TableIsland.Id);
End Sub OnAfterAddTableIsland;
Public Sub OnAfterDeleteTableIsland(TableIsland : IPrxTableIsland);
Begin
    WinApplication.InformationBox("Relational data area is deleted " + TableIsland.Id);
End Sub OnAfterDeleteTableIsland;
End Class EventsClass;

After adding and deleting the relational data area an information message is displayed.

See also:

IPrxReportUserEvents