Show contents 

Express > Express Assembly Interfaces > IEaxObject > IEaxObject.Active

IEaxObject.Active

Syntax

Active: Boolean;

Description

The Active property determines an active object of express report.

Comments

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.

Example

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:

IEaxObject