IPrxReport.HasEventHandler

Syntax

HasEventHandler: Boolean;

Description

The HasEventHandler property determines whether event handler is connected to regular report.

Comments

Available values:

Example

To execute the example the repository must contain a regular report with the REPORT identifier.

Add links to the Metabase, Report system assemblies.

Sub UserProc;
Var
    MB: IMetabase;
    Report: IPrxReport;
Begin
    
// Get the current repository
    MB := MetabaseClass.Active;
    
// Get regular report
    Report := MB.ItemById("REPORT").Bind As IPrxReport;
    
// Display whether there are event handlers
    Debug.WriteLine(Report.HasEventHandler.ToString);
End Sub UserProc;

After executing the example, the console window displays information about connected event handlers.

See. also:

IPrxReport