Go to Glossary Search VisualAge C++ Help Go to VisualAge C++ Help Home Page Go to WWW VisualAge C++ Site

Add Part Window

Use this window to retrieve a part and drop it on the free-form surface. You must supply the fully qualified class name to add the part from this window.

Use the Add Part window under the following circumstances:

Note: You cannot add a part inside itself and you cannot embed a composite part inside itself.

Fields

Push buttons

To add the part or variable to the free-form surface and exit the Add Part window, select Add.

To add the part or variable to the free-form surface and keep the Add Part window active, select Apply.

If you are unsure of the class name, use List....


Related concepts
About Adding Parts in the Composition Editor

Related procedures
Dropping a Part that Is Not on the Palette
Dropping Parts in the Composition Editor

Related references
Add Part

Part Type

You can add a part as a part or as a variable. When you add a part as a part, the default constructor for the class is used when the application runs. This means that a real object is created, not a variable that points to a real object defined elsewhere.

From Part Type, select the type of part you want to add.

Select... If you want...
Part To add a visual part or a part
Variable To add a class to represent a part, using the variable part


Related concepts
About Adding Parts in the Composition Editor

Related procedures
Dropping a Part that Is Not on the Palette

Related references
Part-New Window
Add Part

Class Name

In the Part class field, enter the fully qualified name of the C++ class. If you created the part, you assigned Part class. You can use the List button to locate the name.


Related concepts
About Adding Parts in the Composition Editor

Related procedures
Dropping a Part that Is Not on the Palette

Related references
Part-New Window
Add Part

Part Name

Enter a name in the Name field for the part you want to drop. Part names may include letters and numbers, but must begin with a letter and include no spaces. This text appears under the part icon on the free-form surface. If you leave this field blank, VisualAge assigns a Name for you.


Related concepts
About Adding Parts in the Composition Editor

Related procedures
Dropping a Part that Is Not on the Palette

Related references
Part-New Window
Add Part