IPrxReportUserEvents.EventOnAfterAddDataIsland

Syntax

Sub EventOnAfterAddDataIsland(Args: IUiPrxDataIslandEventArgs);
Begin
   
//set of operators;
End Sub EventOnAfterAddDataIsland;

Parameters

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

Description

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

Comments

To implement an event that occurs after deleting data area, use the IPrxReportUserEvents.EventOnAfterDeleteDataIsland 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 OnAfterAddDataIsland(DataIsland : IPrxDataIsland);
Begin
    WinApplication.InformationBox("Data area is added " + DataIsland.Id);
End Sub OnAfterAddDataIsland;
Public Sub OnAfterDeleteDataIsland(DataIsland : IPrxDataIsland);
Begin
    WinApplication.InformationBox("Data area is deleted " + DataIsland.Id);
End Sub OnAfterDeleteDataIsland;
End Class EventsClass;

After adding and deleting the data area, an information message is displayed in the regular report.

See also:

IPrxReportUserEvents