English

How To: Change the size of the application window in a project by editing the .apr file

Summary

This article shows how to change the size of the application window 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. Find the project section of the .apr file located near the top of the file. It will look something like this:

    Code:
    (Project.2
    Name: "Sample.apr"
    CreationDate: "Thursday, May 31, 2001 03:21:46"
    GUIName: "Project"
    Win: 3
    CSMgr: 4
    DocExts: 5
    VisGUIWidth: 70
    Doc: 6
    Doc: 239
    Doc: 180
    Doc: 402
    Doc: 41
    Doc: 410
    ActiveDoc: 410
    Buttons: 990
    Buttons: 991
    Buttons: 992
    Dependencies: 993
    Scripts: 994
    Prefs: 995
    WorkDir: 1822
    WinX: 11
    WinY: 4
    WinW: 623
    WinH: 472
    SerialNumber: "354877314456"
    SelColor: 1823
    GUINames: 1824
    GUINames: 1825
    GUINames: 1826
    GUINames: 1827
    GUINames: 1828
    GUINames: 1829
    GUINames: 1830
    TocWidthScale: 1.00000000000000
    )

  3. Note the WinW and WinH lines, they contain the dimensions of the application window in pixels. Change these numbers as desired.
  4. Save the file.

Related Information