EventsAssembly: Integer;
The EventsAssembly property determines index of the object to be used to handle regular report events.
The object, which index is specified in this property, should contain implementation of a class inherited from .
If events handling is not executed, the value of this property is to be set to -1.
Sub Main;
Var
MB: IMetabase;
Report: IPrxReport;
Assemb: IPrxAssemblies;
i: Integer;
Begin
MB := MetabaseClass.Active;
Report := MB.ItemById("Report").Bind As IPrxReport;
Assemb := Report.Assemblies;
i := Assemb.EventsAssembly;
End Sub Main;
After executing the example the "i" variable contains index of the object that is used to handle events. The identifier of the regular report - Report.
See also: