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:
- Select the Customer Inquiry
project GuiDes1 from the last exercise.
- Find the Window with
canvas icon in the Parts Palette window, point the cursor to it and click.
- Move the mouse until the cursor is
placed somewhere in the Project view of the VisualAge RPG window.
- 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:
- Double-click on the window title
bar so that its Properties notebook appears.
- Change the Part name
field on the General tab of the notebook to CUSTINFO and its
Title setting to Customer Information.
- Select the Startup
tab.
- Cancel the selection of the Open
immediately option.
- Click OK to save
and close the notebook.
The Customer Information window
should now look like the following:
Click on
to indicate that you've done all the steps.