Active: Boolean;
The Active property determines active object of the express report.
Active object is displayed in the express method in current moment. The active object is also displayed at the express report of object navigator close. The Active property is required to set to True to make the object active. At the same time the rest of objects of that property are set to False.
The Visible property is automatically set to True for the active object.
Executing the example requires that the repository contains an express report with the EXPRESS_REPORT identifier. Add links to the Metabase, Express system assemblies.
Sub UserProc;
Var
MB: IMetabase;
MObj: IMetabaseObject;
Expr: IEaxAnalyzer;
Begin
MB := MetabaseClass.Active;
MObj := MB.ItemById("EXPRESS_REPORT").Edit;
Expr := MObj As IEaxAnalyzer;
Expr.Chart.Active := True;
MObj.Save;
End Sub UserProc;
Active object changes when executing an express report example. The chart is shown when express report opens.
See also: