Working with components

The following procedures describe basic tasks that are used when working with components:

To add a new component (property sheet, nav side bar, or wire sheet view)

You can add (create) a new component to a container using the property sheet view, the nav tree view or the wire sheet view. To add a slot refer to To add a new slot.

To add a new component, do the following:

  1. Right–click in the container where you want to place the new component. This can be a component in the nav tree view, the wire sheet view or the property sheet view.

    A popup menu appears.

  2. From the popup menu, choose the New command and select the desired type of component:

    • Folder

    • IconFolder

    • TextBlock

    • BooleanWritable

    • NumericWritable

    • EnumWritable

    • StringWritable

    The Name dialog box appears.

  3. Type the desired name for the new component in the text field and click the OK button.

    The new component appears in the property sheet.

To delete a component (property sheet, nav side bar, or wire sheet view)

You can delete a component from a container, using the property sheet view, the nav tree view or the wire sheet view. To delete a component using the slot sheet view, refer to To delete a slot refer to To delete a slot.

To delete a component, do the following:

NoteIf you delete a component that contains other components, all components in that container component are deleted as well.

  1. Right–click the desired component.

    A popup menu appears.

  2. From the popup menu, select the Delete command.

    The component is deleted.

To rename a component (property sheet, nav side bar, or wire sheet view, slot sheet)

You can rename a component in the property sheet view, the nav tree view, the wire sheet view, or the slot sheet view.

To rename a component, do of the following:

  1. In the desired view, right–click the component to rename.

    The popup menu appears.

  2. From the popup menu, select the Rename command.

    The Rename dialog box appears.

  3. In the Rename dialog box, type the desired name in the text field and click the OK button.

    The component is renamed.

To duplicate a component (property sheet, nav side bar, or wire sheet view)

You can duplicate a component from the property sheet view, the nav tree view, or the wire sheet view.

To duplicate a component, do of the following:

  1. In the desired view, right–click the component to duplicate.

    The popup menu appears.

  2. From the popup menu, select the Duplicate command.

    The Name dialog box appears.

  3. In the Name dialog box, type the desired name in the text field (or use the default name) and click the OK button.

    The component is duplicated.

To paste a component (property sheet, nav side bar, or wire sheet view)

You can add a component to a container by pasting it to a container displayed the property sheet view, the nav tree view, or the wire sheet view.

To add a component by pasting it, do the following:‘

  1. In the desired view, select the desired component and use the Copy (to duplicate) or Cut (to remove) command to copy the component to the clipboard.

    Copy and Cut commands are available on the popup (right–click) menu, the Edit menu, or from the toolbar.

  2. Right–click in the container where you want to place the new component. This can be a component in the nav tree view, the wire sheet view or the property sheet view.

    The popup menu appears.

  3. From the popup menu, select the paste command.

    The Name dialog box appears.

  4. Type the desired name for the new component in the text field and click the OK button.

    The new component is added to the targeted container.

To drag a component to the property sheet, nav side bar, or wire sheet (left–click method)

You can drag a component to the displayed property sheet view, the nav tree view, or the wire sheet view, by using a right–click drag or by using a normal, left–click drag.

NoteA left–click drag always creates a copy of the original.

To drag a component using the left–click drag method, do the following:

  1. In the desired view, left–click the component to copy and drag it to the target container.

    When you release the mouse button, the Name dialog box appears.

  2. Type the desired name for the new component in the text field and click the OK button.

    The new component is added to the targeted container.

To drag a component to the property sheet, nav side bar, or wire sheet (right–click method)

You can drag a component to the displayed property sheet by using a right–click drag or by using a normal, left–click drag.

NoteA right–click drag always prompts you to choose a copy, move, or cancel command.

To drag a component to a property sheet by using the right–click drag method, do the following:

  1. In the desired view, right–click the component that you want to move (or copy) and drag it to the property sheet.

    When you release the right mouse button, a popup menu appears.

  2. From the popup menu, choose one of the following commands:

    • Copy – this command makes a duplicate of the component to paste onto the property sheet.

      The Name dialog box appears.

    • Move – this command removes the original component and prepares to paste in onto the property sheet.

      The Name dialog box appears.

    • Cancel – this command will stop the process, and the popup menu will disappear.

  3. Type the desired name for the new component in the text field and click the OK button.

    The new component appears in the property sheet.