Sub EventOnBeforeRefreshEaxGrid(EaxGrid: IEaxGrid; Var Cancel: Boolean);
Begin
//set of operators;
End Sub EventOnBeforeRefreshEaxGrid;
Sub EventOnBeforeRefreshEaxGrid(EaxGrid : Prognoz.Platform.Interop.Express.EaxGrid; Var Cancel : boolean);
Begin
Cancel := False;
//set of operators;
End Sub EventOnBeforeRefreshEaxGrid;
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.
The EventOnBeforeRefreshEaxGrid method implements the event that occurs before refreshing an analytical data area.
To implement the event that occurs after refreshing analytical data area, use the IPrxReportUserEvents.EventOnAfterRefreshEaxGrid method.
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;
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:
Related work items
Requirement