Visible: Boolean;
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.
Default property value is True.
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: