English

How To: Close/open a view in a project by editing the .apr file

Summary

This article shows how to close a view in a project by editing the .apr file with a text editor.

Procedure

  1. Open the .apr in a text editor such as WordPad or Notepad.

    Warning:
    Always make a backup before making any edits to an .apr file.

  2. Search for the name of the view. You will see something like:

    Code:
    (View.410
    Name: "View2"
    CreationDate: "Thursday, May 31, 2001 04:21:17"
    GUIName: "View"
    Win: 411
    CSMgr: 412
    DocExts: 414
    DocExts: 415
    Graphics: 416
    Theme: 423
    Theme: 450
    Theme: 720
    LastScale: 4289035647.73108150000000
    Dpy: 417
    TOCWidth: 150
    CoordPrecision: 2
    )

    (DocWin.411
    Owner: 410
    Open: 1
    X: 106
    Y: 42
    W: 478
    H: 281
    )

  3. Locate the line called Open under the view.
  4. Change the value of Open as appropriate. The value of 1 indicates an open view, and 0 indicates a closed view.
  5. Save the file.

Related Information