The visual parts you construct in the Composition Editor are composite parts because they contain other parts, known as subparts. What's great about VisualAge is that you can use a composite visual part just like any other part. So, if you construct your parts carefully, you can reuse them throughout your application and in other applications.
Every visual part must have a primary part. Typically, this is the Window part. However, to create a reusable composite part you use a Form part, which you must make the primary part. The Form part is similar to a Window part, except that it doesn't have a frame border. This makes the part ideal for embedding into a window or some other part in your user interface.
Because you delete the Window part first, then add the Form part, the Form part automatically becomes the primary part.
Note: | To make a part the primary part, select Become Primary Part from its pop-up menu. If a part's pop-up menu doesn't have a Become Primary Part choice, the part is already the primary part. Nonvisual parts cannot be made the primary part. |
The SecurityFormView part is now ready for you to create the user interface.
As you add parts on top of the form part, they automatically become children of the form part, just as with a window part.
You have now finished creating a visual part that we will later reuse.