Adding a Form

You can add a form to an element by selecting the element from the Class View.

To add a form to an element from the Class View, perform the following:

  1. Open the Class View window and select the element to which you want to add a form.

    Note: If you want to select an element lower in the hierarchy of the element node that is displayed in the Class View, press + (plus key) on the numeric keypad to expand the element and to display its members.

  2. Open the Properties window of the selected element, and set the PresentationType property to any value other than None.

This adds the Painter tab to the document window. Refer to PresentationType Property for more information on the available presentation types.

The Painter tab is available at the bottom of the document window. Click this tab to open the newly created form on which you can add graphical objects. Before you add objects, you might want to display the form grid to have your objects snap to the grid for more accurate positioning. You might also want to set the properties of the form, which can be done before or after you add the objects.