You can save the window you are working on at any time.
To save a window:
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.
Name the window in the Windows text box (see below).
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.
Specify the library where you want to save the window.
Click OK.
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.