IPrxReportUserEvents.EventOnAfterAddEaxGrid

Syntax

Sub EventOnAfterAddEaxGrid(Args: IUiPrxEaxGridEventArgs);
Begin
   
//set of operators;
End Sub EventOnAfterAddEaxGrid;

Parameters

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

Description

The EventOnAfterAddEaxGrid method implements the event that occurs after adding an analytical data area.

Comments

To implement an event that occurs after deleting analytical data area, use the IPrxReportUserEvents.EventOnAfterDeleteEaxGrid method.

Example

Executing the example requires the regular report, which contains an analytical data area. 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 OnAfterAddEaxGrid(EaxGrid : IEaxGrid);
Begin
    WinApplication.InformationBox("Analytical data area is added " + EaxGrid.Id);
End Sub OnAfterAddEaxGrid;
Public Sub OnAfterDeleteEaxGrid(EaxGrid : IEaxGrid);
Begin
   WinApplication.InformationBox("Analytical data area is deleted " + EaxGrid.Id);
End Sub OnAfterDeleteEaxGrid;
End Class EventsClass;

An information message is displayed when the event occurs.

See also:

IPrxReportUserEvents