In the Toolbar Button Editor dialog, the first property is the Button Type (figure 33). There are three available button types: Tool Button, this is simply a button that has a single action. Any setting in the Drop-Down Menu field will be ignored; Drop-Down Button, this object is used in conjunction with a previously created Drop-Down Menu. It is a dual purpose button that has two functions, the action selected from the Action List will be executed if the button portion of the object is clicked, and the Drop-Down Menu that is selected in the Drop-Down Menu field will be displayed when the down-arrow portion of the button is depressed; Separator, this is an aesthetic line that creates a break between the buttons.

image39
(figure 33)

An important note about using the Separator is that it MUST be used BETWEEN button objects. If your Toolbar definition ends with a separator, the entire Toolbar will be disorganized aesthetically. Also, when using a Separator, the other properties like Action List and Drop-Down Menu settings are all ignored for this object.

Also, when using Drop-Down Menu objects, if you want an image to appear on the button portion of the object, but not execute anything if it is clicked, you need to assign an Action from the Action list that has no actual action assigned to it, only an image.

Next, you will choose the Drop-Down Menu to be associated with the object (if applicable). Otherwise, choose No Drop-Down Menu (figure 34).

image60
(figure 34)

Lastly, you need to decide whether or not you want to have an Action associated with the pressing of the button (figure 35). A Tool Button needs to have an Action associated with it to work, but a Drop-Down Button can either have an Action or not. If you want to have the Drop-Down Button only display the Drop-Down Menu, then do not include an Action.

image61
(figure 35)