Drop-down Buttons and Menus

A drop-down button is a special type of button that displays a menu. A menu can contain one or more buttons, and these can themselves be drop-down buttons. This lets you create cascading menus. There is no limit to how many levels of drop-down menus you can create.

 

There are two different types of drop-down button:

 

 

Drop-down buttons are edited in Customize mode like any others - please see the Editing the Toolbar page for a complete description of how to edit buttons on the toolbar. There are a few minor differences when dealing with drop-down buttons:

 

Drop-down buttons on the top-level of a toolbar respond to an ampersand (&) character in their label. This can be used to mark a letter of the button's label as a type of hotkey - pressing Alt plus that letter will pop-open the menu, which lets you access its contents using the keyboard.
 

    menu button edit.png    

This screenshot shows the definition for the Rename menu button on the default toolbar. You can see that the button's label is actually set to Re&name - even though on the toolbar it displays as Rename. The 'n' in the label has been marked by the ampersand, and this lets you press Alt+N to pop open the drop-down attached to the Rename button. The button also has a hotkey defined (Ctrl+3) - this applies to the "button" part of the menu button. Pressing Ctrl+3 runs the button's command (Rename ADVANCED) - the same as if you click the "button" part and not the drop-down.


If you want to use a literal ampersand in a button's label, you must use a double & (e.g. Backup && Restore).