You have defined four separate visual parts that will be used to construct the Investment application. We've used one of the visual parts, the SecurityFormView, as a reusable part within the BuySecurityView and SellSecurityView parts. Now we need to link our windows together. Before linking them together, we'll need to add the BuySecurityView and SellSecurityView windows to the free-form surface of the MainWindowView visual part. This will be done using the VisualAge View Wrapper part. A view wrapper provides a simple iconic view of a part that can be added to the free-form surface and easily connected to from other parts.
For more information on the View Wrapper part, refer to the VisualAge Smalltalk User's Guide .
The mouse pointer is now loaded with a View Wrapper part representing the BuySecurityView visual part you created earlier.
You can now work with the attributes, events, and actions of this part within your MainWindowView visual part just as you can any other part.
![]() | If the Composition Editor is open on the MainWindowView part you can open the Composition Editor on the BuySecurityView by selecting the Edit Part choice from the BuySecurityView view wrapper pop-up menu. |