Saving, loading, and resetting a window layout

Changes made to a window are temporary. Once you close the window and reopen it, the window will be back in its original layout. You can create a new layout or redesign an existing layout. However, if you want to retain your changes, you must save the layout.

Excluding the menu when saving a form layout

By default, the menu and toolbar associated to a form are saved when you save the form window’s layout. This is helpful when you design several menu and window layouts for your users and want to call them up later to modify them.

While customizing the menus and windows for TMW Operations, you can temporarily exclude the menu layout from being saved with the window layout by selecting Toggle Include Current Menu With Screen Layout from the short cut menu. The green check before the option is cleared. When you save the window layout, the menu will not be included. However, the green check reappears again when you do one of the following:

  • Load another window layout that includes a menu layout.

  • Load another window layout that does not include a menu layout, but you modify the menu.

If you want to disable this feature altogether, and always exclude the menu layout from being saved with the window layout, set [Misc]SaveMenuWithFormLayout=N in your TTS50.

Saving a new window layout

Use this procedure to save a new window layout.

  1. Load the layout from which you want to model the new layout.

  2. Make any necessary changes.

  3. Right-click in the window.
    A shortcut menu is displayed.

    image1

  4. Select Save New Layout To Database.
    A Save Form Layout dialog box is displayed.

    image2

  5. Type a brief, descriptive name to identify the new layout.

  6. If you know that the current layout will be used as your personal default and wish to set it now, select the Set as Default checkbox.

    Note: To save the layout as the default for others, see Identifying the global default layout for a window or grid.

  7. If you want to save the window layout to give the file to another administrator:

    1. Select the Export To File checkbox.

    2. In the text field, enter a file name.

    3. To save it in a particular location, click Browse, go to the folder location, and click Save.

      Note: The file is saved with the extension .SDL.

  8. Click OK.

  9. Assign the layout to users or groups.

Saving changes to an existing user-defined window layout

After you create a user-defined window layout for a window or grid, you may want to make subsequent changes to it. Use this procedure to save changes to an existing layout.

  1. Load the layout you want to change.

  2. Make changes as needed.

  3. When you are ready to save the revised layout, right-click anywhere in the body of the window.
    A shortcut menu is shown.

    image4

  4. Click Save Layout To Database.

  5. Assign the layout to users or groups.

Resetting a window layout to the factory default

Use this procedure to quickly return from your current window layout to the factory [Default] layout.

If you have included a menu layout with the window layout, it will also be reset to the factory default layout.
  1. Right-click anywhere in the body of the window.
    A shortcut menu is shown.

  2. Click Reset Layout for [Window Name]
    where [Window Name] is the name of your current window or application.

  3. When the layout is reset, on the information window, click OK.

    image5

Loading a saved window layout from a file

Use this procedure if you want to load a window layout that you or someone else saved as a file for your use.

  1. Right-click in the window and select Load Layout from File.
    The Import Layout window opens.

  2. Go to the file location.

  3. Select the .SDL file.

  4. Click Open.
    The imported window layout is applied.

  5. Save the new window layout.