4.1 Creating a New Window

First you create a new window for the application. The window will display the customer information for the customer number entered in the Customer Inquiry window.

Follow these steps:

  1. Select the Customer Inquiry project GuiDes1 from the last exercise.
  2. Find the Window with canvas icon in the Parts Palette window, point the cursor to it and click.
  3. Move the mouse until the cursor is placed somewhere in the Project view of the VisualAge RPG window.
  4. Click the left mouse button. A new window appears, and a new window icon is placed in the Project view.

Changing the Part Name and Title

Now you want to change the part name and the title of the new customer information window.

Follow these steps:

  1. Double-click on the window title bar so that its Properties notebook appears.
  2. Change the Part name field on the General tab of the notebook to CUSTINFO and its Title setting to Customer Information.
  3. Select the Startup tab.
  4. Cancel the selection of the Open immediately option.
  5. Click OK to save and close the notebook.
  6. The Customer Information window should now look like the following:

Click on to indicate that you've done all the steps.