IReportObjectEventArgs.Object

Syntax

Object: ITabObject;

Description

The Object property returns the object of a regular report sheet that has generated the event.

Example

The following example assumes that there is the ReportBox1 object with the ReportBox type.

Sub ReportBox1OnObjectActivate(Sender: Object; Args: IReportObjectEventArgs);

Begin

WinApplication.InformationBox(Args.Object.ClassId);

End Sub ReportBox1OnObjectActivate;

After the event occurs, a message with information about the object type is displayed.

See also:

IReportObjectEventArgs