IPrxSheet.Visible

Syntax

Visible: Boolean;

Description

The Visible property determines whether the report sheet is displayed in the working area. If the property is set to True, the sheet is displayed in the working area; if the property is set to False, it is not.

Comments

Default property value is True.

Example

Sub UserProc;

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(1);

Sheet.Visible := False;

MObj.Save;

End Sub UserProc;

After executing the example the second sheet of the report is hidden. The identifier of the regular report - Report.

See also:

IPrxSheet