Configure items for a Toolbar control
See Toolbar control.
-
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.
-
To add an item to the toolbar, select the root toolbar control and
click
Add
for
Toolbar Items.
By default, a button control is added to the toolbar.
- Add more button controls, and child items under the button control as required.
- Select the button control and configure the button properties. See Properties of a button.
-
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.
Use a separator to group related toolbar items. -
Spacer: Adds a space between the toolbar items.
You cannot add a spacer to child items.
-
- To reorder the toolbar items, use the Up and Down arrows.
-
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.