IUiReportBaseEventArgs.UiRep

Syntax

UiRep: IUiReport;

Description

The UiRep property returns the object containing the UiReport component that has generated the event.

Example

Sub UiReport1OnAfterActivateSheet(Sender: Object; Args: IUiPrxActivateSheetEventArgs);

Var

Arg: IUiReportBaseEventArgs;

Begin

Arg := Args As IUiReportBaseEventArgs;

s := Arg.UiRep.Name;

End Sub UiReport1OnAfterActivateSheet;

After executing the example the "s" variable will contain the name of the UiReport component that has generated the OnAfterActivateSheet event.

See also:

IUiReportBaseEventArgs