IPrxReportUserEvents.EventOnCellChange

Syntax

Sub EventOnCellChange(Args: IUiPrxCellChangeEventArgs);
Begin
    
// set of operators
End Sub EventOnCellChange;

Parameters

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

Description

The EventOnCellChange method implements the event that occurs after changing a cell value.

Fore 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 Report, Ui system assemblies in the unit.

Class EventsClass: ReportEvents
Sub EventOnCellChange(Args: IUiPrxCellChangeEventArgs);
Begin
   WinApplication.InformationBox("Cell value is changed.");
End Sub EventOnCellChange;
End Class EventsClass;

After changing the cell value in the regular report an information message is displayed.

Fore.NET Example

The requirements and result of the Fore.NET example execution match with those in the Fore example.

Imports Prognoz.Platform.Interop.Report;
Imports Prognoz.Platform.Interop.Ui;

Public Class EventsClass: PrxForeNetReportUserEventsClass
Public Override Sub EventOnCellChange(Args: Prognoz.Platform.Interop.Report.UiPrxCellChangeEventArgs);
Var
   WinAppCls: WinApplicationClass = New WinApplicationClassClass();
Begin
   WinAppCls.InformationBox("Cell value is changed."Null);
End Sub EventOnCellChange;
End Class EventsClass;

See also:

IPrxReportUserEvents

Related work items

Requirement