Workbench User Guide : 11. Creating Toolbars : How You Can Create Toolbar Items : Use the Icon Gallery
 
Share this page                  
Use the Icon Gallery
The Icon Gallery lets you do the following:
Select standard icons for your toolbar buttons
Add a new icon to an existing category in the Icon Gallery
Add new categories, items, and icon images
Note:  To access the Icon Gallery, open an existing frame in the Frame Editor or create a new one. Then access the Toolbar Editor and insert, for example, a top toolbar.
To select an icon from the Icon Gallery
1. Click View, Icon Gallery in the Toolbar Editor.
The Icon Gallery frame appears.
The available icons are organized into four categories or tab pages: File, Edit, Listview, and Help.
2. Click the tab for the desired category.
Use the scroll bars on each tab page to view all available icons.
3. Click the icon you want to use.
Tooltip text shows the dimensions of the selected icon in pixels.
4. Drag the highlighted icon to the toolbar field.
When the icon is applied to a toolbar button, the tooltip text is automatically set; for example, if you selected a Paste icon the tooltip text is set to “Paste.”
A category is a tab page in the Icon Gallery, for example, Edit. Icons related to editing are placed in this category.
To create a new category
1. Click File, New Folder in the Icon Gallery.
The New Page dialog appears.
2. Type a name for the category.
The name appears on a new tab in the Icon Gallery.
To add a new image to an existing category (tab page)
1. Select the desired category in the Icon Gallery, and then click Edit, New Item.
The New Item dialog appears.
2. Type a name for the new item.
The new item name appears in the left column of the tab page.
3. Click Edit, Add Icon.
A File Selection dialog appears.
4. Locate and select the desired icon bitmap and click Open.
The Icon Selection dialog displays the available images.
5. Select the desired icon image and click OK.
The bitmap appears in the row with the item name to the left. It can then be dragged to the toolbar.
6. If you want a border around the icon, click the icon, or check Show Icons with Outlines on the Icon Gallery View menu.
An item is the name of the operation you want to have illustrated with an icon, for example, Cut.
To add a new item to a category
1. Select the desired category in the Icon Gallery, and then click Edit, New Item.
The New Item dialog appears.
2. Type the name of the item.
The name of the item appears in the left column of the tab page.
3. Click Edit, Add Icon.
The File Selection dialog appears.
4. Locate and select the desired icon bitmap and click Open.
The Icon Selection dialog appears with the available images displayed.
5. Select the desired icon image and click OK.
The bitmap appears in the row with the item name to the left. It can then be dragged to the toolbar.
6. If you want a border around the icon, click the icon, or check Show Icons with Outlines on the Icon Gallery View menu.
To delete a tab page from the Icon Gallery
Select the category (tab page) you want to delete, and click File, Delete Folder.
To delete an item from the Icon Gallery
Select the item you want to delete, and click Edit, Delete Item.
To delete an icon from the Icon Gallery
Select the icon you want to delete, and click Edit, Delete Highlighted Icon.