Saving the window

You can save the window you are working on at any time.

StepsTo save a window:

  1. Select File>Save from the menu bar.

    If you have previously saved the window, PowerBuilder saves the new version in the same library and returns you to the Window painter workspace.

    If you have not previously saved the window, PowerBuilder displays the Save Window dialog box.

  2. Name the window in the Windows text box (see below).

  3. Type comments in the Comments text box to describe the window.

    These comments display in the Select Window window and in the Library painter. It is a good idea to use comments so you and others can easily remember the purpose of the window later.

  4. Specify the library where you want to save the window.

  5. Click OK.

Naming the window

The window name can be any valid PowerBuilder identifier of up to 40 characters. For information about PowerBuilder identifiers, see the PowerScript Reference.

A commonly used convention is to preface all window names with w_ and use a suffix that helps you identify the particular window. For example, you might name a window that displays employee data w_empdata.