IPrxSheet.Active

Syntax

Active: Booelan;

Description

The Active property determines whether a new sheet is to be active.

Example

Sub Main;

Var

MB: IMetabase;

MObj: IMetabaseObject;

Report: IPrxReport;

Sheet: IPrxSheet;

Begin

MB:=MetabaseClass.Active;

MObj:=MB.ItemById("Report").Edit;

Report:=MObj As IPrxReport;

Sheet:=Report.Sheets.Item(0);

Sheet.Active:=True;

MObj.Save;

End Sub Main;

After executing the example the first sheet of the regular report with the Report identifier becomes active.

See also:

IPrxSheet