Workbench User Guide : 11. Creating Toolbars : How You Can Create Toolbar Items : Create a Toolbar
 
Share this page                  
Create a Toolbar
You can create a toolbar using the Workbench Toolbar Editor, which you access from the Frame Editor.
To create a toolbar
1. Open the frame in which you want to create the toolbar in the Frame Editor (see Open an Existing Frame).
2. Click Tools, Toolbars on the Frame Editor's floating menu bar.
The Toolbar Editor appears.
3. Insert a top, bottom, left, or right toolbar in the layout area by clicking on the respective menu item in the Insert menu.
Workbench creates a toolbar with a single button field.
4. Select the button field, and then click the BitmapLabel property in the Property Inspector.
A standard Browse dialog appears.
By default, toolbar buttons display a blank, gray bitmap as indicated by the text in the FileHandle field in this dialog. You may replace the default bitmap with another one, or clear the default selection altogether so that you can add an icon or a text label. For instructions to add icons, see Use the Icon Gallery.
5. Click Clear and then OK.
The BitmapLabel property's value cell now displays No Bitmap.
6. In the Property Inspector, set any other properties you want.
7. Replace the default field name, fieldn, for the Name property with a unique, descriptive name.
8. Enter a value in the value cell of the TextLabel property.
9. Select the main bar of the toolbar itself.
The Property Inspector changes focus to the main bar.
10. Enter a unique, descriptive name for the toolbar in the value cell of the Name property.
11. Create other toolbar items.
For more information, see Types of Toolbar Items and Create Additional Toolbar Buttons.
Note:  The properties for the main bar of a toolbar are common to other field properties. For complete descriptions of each toolbar property, see Common Field Properties.