DisplayTabs: TriState;
The DisplayTabs property determines whether tabs of regular report sheets are displayed.
Available values of the property correspond to elements of the TriState enumeration:
OnOption. All tabs of regular report sheets are displayed.
OffOption. All tabs of regular report sheets are hidden.
Undefined. Tabs of regular report sheets are displayed if the Report Sheet Tabs checkbox located in the Show group on the View tab of the ribbon is selected.
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.
See also: