IUiPrxControlEventArgs.Control

Syntax

Control: IPrxControl;

Description

The Control property returns control of the regular report that will be deleted, or which value has been changed.

Example

Executing the example requires that the repository contains a regular report that contains a control. Connecta 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.

Class EventsClass: ReportEvents
// Change control value
Sub EventOnChangeControlValue(Args: IUiPrxControlEventArgs);
Begin
    WinApplication.InformationBox(
"Control has been changed " + Args.Control.Id);
End Sub EventOnChangeControlValue;
End Class EventsClass;

When the event occurs, an information message containing identifier of the changed control is displayed.

See also:

IUiPrxControlEventArgs