The window you create in this tutorial displays detailed customer information.
Note: | The Address part shown in this picture is created in "Defining a reusable visual part". Leave space for it, so it will fit as shown in Figure 97. |
Figure 97. Customer Information Window
To create a new visual part, on the VisualAge Organizer window:
The VisualAge New Part window is displayed.
Note: | Names of VisualAge parts are usually several words written together without spaces. Visual part class names are case sensitive and the first letter of each word is usually capitalized to make them easier to read. The names of visual parts usually end with the word View to help you distinguish them from nonvisual VisualAge parts. The class shown in the Inherits from drop-down list box is one example. |
The Composition Editor is displayed. Because the AbtAppBldrView class was selected in the Inherits from drop-down list box, the TutorialView part already contains a Window part. The area outside of the Window part is called the free-form surface.
Small solid boxes appear on the Window's corners. These are called selection handles.
For this sample, make the Window as large as possible in the viewable area of the Composition Editor. Leave at least one inch of the free-form surface visible to the right of the Window part for future use.
The cursor is now at the end of the default name, which is blocked for deletion in text edit mode.
The Window now has the new title.
Note: | Refer to the VisualAge for Smalltalk User's Guide for basic techniques used in creating visual parts. |