Express > Express Assembly Interfaces > IEaxObject > IEaxObject.Active
Active: Boolean;
The Active property determines an active object of express report.
An active object is currently displayed in the express method. An active object is also displayed on opening express report in the object navigator. To set an active object, set the Active property to True. The rest of objects of this property are set to False.
The IEaxObject.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 Express and Metabase 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;
The active object is changed on executing the example in express report. The chart is shown when express report opens.
See also: