IPrxReportUserEvents.EventOnBeforeRefreshEaxGrid

Fore Syntax

Sub EventOnBeforeRefreshEaxGrid(EaxGrid: IEaxGridVar Cancel: Boolean);

Begin

//set of operators;

End Sub EventOnBeforeRefreshEaxGrid;

Fore.NET Syntax

Sub EventOnBeforeRefreshEaxGrid(EaxGrid : Prognoz.Platform.Interop.Express.EaxGrid; Var Cancel : boolean);

Begin

Cancel := False;

//set of operators;

End Sub EventOnBeforeRefreshEaxGrid;

Parameters

EaxGrid. The parameter that returns the analytical data area that generated event.

Cancel. The parameter that determines whether the event is fired. The property is set to False by default.

Description

The EventOnBeforeRefreshEaxGrid method implements the event that occurs before refreshing an analytical data area.

Comments

To implement the event that occurs after refreshing analytical data area, use the IPrxReportUserEvents.EventOnAfterRefreshEaxGrid method.

Fore Example

Class EventsClass: ReportEvents
    Public Sub OnBeforeRefreshEaxGrid(EaxGrid: IEaxGrid; Var Cancel: Boolean);
    Begin
        Debug.WriteLine("Analytical data area is refreshed.");
    End Sub OnBeforeRefreshEaxGrid;
End Class EventsClass;

Fore.NET Example

Public Class EventsClass: PrxForeNetReportUserEventsClass
    Public Override Sub OnBeforeRefreshEaxGrid(EaxGrid : EaxGrid; Var Cancel : Boolean);
    Begin
        Cancel := True;
        System.Diagnostics.Debug.WriteLine("Analytical data area is refreshed.");
    End Sub OnBeforeRefreshEaxGrid;
End Class EventsClass;

See also:

IPrxReportUserEvents

Related work items

Requirement