IPrxReportOptions.DisplayTabs

Fore Syntax

DisplayTabs: TriState;

Fore.NET Syntax

DisplayTabs: Prognoz.Platform.Interop.ForeSystem.TriState;

Description

The DisplayTabs property determines whether tabs of regular report sheets are displayed.

Comments

Available values of the property correspond to elements of the TriState enumeration:

Fore Example

Executing the example requires a regular report with the REPORT identifier.

Add links to the Metabase, Report system assemblies.

Sub UserProc;
Var
    MB: IMetabase;
    MOBj: IMetabaseObject;
    Report: IPrxReport;
    Options: IPrxReportOptions;
Begin
    MB := MetabaseClass.Active;
    MOBj := MB.ItemById("REPORT").Edit;
    Report := MOBj As IPrxReport;
    Options := Report.Options;
    Options.DisplayTabs := TriState.OffOption;
    MOBj.Save;
End Sub UserProc;

After executing the example report sheet tabs will be hidden.

Fore.NET Example

Executing the example requires a regular report with the REPORT identifier.

Add links to the Report and ForeSystem system assemblies.

Imports Prognoz.Platform.Interop.Report;
Imports Prognoz.Platform.Interop.ForeSystem;

Public Shared Sub Main(Params: StartParams);
Var
    MB: IMetabase;
    MOBj: IMetabaseObject;
    Report: IPrxReport;
    Options: IPrxReportOptions;
Begin
    MB := Params.Metabase;
    MOBj := MB.ItemById["REPORT"].Edit();
    Report := MOBj As IPrxReport;
    Options := Report.Options;
    Options.DisplayTabs := TriState.tsOffOption;
    MOBj.Save();
End Sub;

The result of Fore.NET example execution matches with that in the Fore example.

See also:

IPrxReportOptions | Working with Report Sheets