Show contents 

Report > Report Assembly Interfaces > IPrxSheet > IPrxSheet.Visible

IPrxSheet.Visible

Syntax

Visible: Boolean;

Description

The Visible property determines whether the report sheet is displayed in the working area.

Comments

 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. The property is set to True by default.

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