Configure items for a Toolbar control

  1. On the Extended Properties page of the Toolbar control, click the Items tab.

    By default, the root toolbar control is displayed, under which you can create multiple button controls in a hierarchy.

  2. To add an item to the toolbar, select the root toolbar control and click Add Add for Toolbar Items.

    By default, a button control is added to the toolbar.

  3. Add more button controls, and child items under the button control as required.
  4. Select the button control and configure the button properties. See Properties of a button.
  5. Alternatively, to change a button to a separator or spacer, select either option for Type:
    • Separator: Replaces a button with separator. Any child items existing for the button are removed.

      Note Use a separator to group related toolbar items.
    • Spacer: Adds a space between the toolbar items.

      Note You cannot add a spacer to child items.
  6. To reorder the toolbar items, use the Up and Down arrows.
  7. Click Save.
    At runtime, the Toolbar control is displayed with the buttons, separators and spacers. If the button has child items, a drop-down arrow appears. Clicking a button invokes the action for that item.