Dragging an Attribute from the Class View

You can add a dynamic presentation to a form by dragging an existing attribute from the Class View window and dropping it onto a form or GridPanel.

Several conditions apply to performing this operation as described below.

When an attribute is a member of the current class:

When an attribute is not a member of the current class:

When pasting an attribute, a copy of the attribute is created and added to the current class. Any existing object presentation of the item is read from the Model. If no graphical object exists for the attribute, a default Text Field object is created

To drag an attribute from the Class View window and drop it onto a form, perform the following:

  1. Open the form by clicking the Painter tab available at the bottom of the document window.

  2. If it is not already open, open the Class View window by clicking the View, Class View menu item.

  3. Sort the hierarchical list into the most appropriate form to locate the attribute you want to use.

  4. If necessary, click the plus (+) symbol next to a node to list all the items within the node.

  5. Select the attribute you want to assign to a graphical object, and drag it onto the form.

  6. Drop the attribute onto the form, following the conditions described earlier.

  7. If you want to assign another type of object to the attribute, select the existing object and click the arrow adjacent to the Object Type property in the Property window.

    This displays a list of other object types, which can replace the existing object while still maintaining the binding to its attribute.

Note:

Some special types of attributes require additional handling when dragged from the Class View window. Refer to Adding a CopyFrom for more information on these attributes.