~~Title: Toolbar Context Menus ~~
When in Customize mode, all toolbar buttons have a context menu that you can access by right-clicking them. The commands on this context menu will vary based on the type of button.
For a "regular" button, the context menu looks like this:
|{{:media:button_context_menu_1.png?nolink|}} | |**Cut**: Cut the button to the clipboard - when pasted to another location on the toolbar, the button will be moved.\\ **Copy**: Copy the button to the clipboard - you can paste a copy of it to the same or another toolbar.\\ **Paste**: Paste the button from the clipboard - inserts the button to the left of the button you right-clicked on.\\ **Delete**: Delete the button.\\ **Edit**: Edit the button.\\ **Three Buttons**: Turn a simple button into a [[multiple_function_buttons|multiple-function button]] (a "three button button").\\ **Begin a Group**: Insert a separator to the left of this button.\\ **Insert New**: Insert a new button, drop-down menu or spacer to the left of this button.\\ |
The context menu for a //drop-down menu// looks almost the same.
|{{:media:button_context_menu_2.png?nolink|}} | |The **Three Buttons** option is unavailable (a drop-down menu can't be converted to a multiple-function button), and there is a new command:\\ \\ **Convert to Menu Button**: This command turns a drop-down menu (a button whose sole purpose is to drop-down a menu of other buttons) into a drop-down menu button. A menu button combines a regular button, that you can assign a function to, with a drop-down menu. The main part of the button runs the assigned command, and a smaller button to the right that displays an arrow glyph is used to pop open the menu. \\ {{:media:menu_button.png?nolink|}} \\ See the [[drop-down_buttons_and_menus|Drop-down Buttons and Menus]] topic for more details.|
Again, the context menu for a //drop-down menu button// is very similar, with only one additional command.
|{{:media:button_context_menu_3.png?nolink|}} | |**Always Enable Drop-down**: This option makes the drop-down part of a menu button always available, even if the "button part" is disabled.\\ **Hold or Right-Click to Drop Down**: This option removes the visible drop-down arrow. The drop-down menu can be accessed either by right-clicking on the button, or by left-clicking and holding the mouse button down until the menu appears.\\ \\ The **Go Up** button ({{:media:always_enable_menu_button.png?nolink|}}) in the default File Display toolbar makes use of both of these options. The **Go Up** button is disabled when you are at the Desktop level (because you can't go up any further from there). Without the **Always enable drop-down** option turned on, this would make it impossible for you to access the commands in the drop-down menu attached to the **Up** button.\\ |
The context menu for a //field button// looks like this:
|{{:media:field_context_menu.png?nolink|}} | |**Field Type**: Lets you change the type of the field button. Field buttons can only be created by dragging the appropriate item from the Commands tab of the Customize dialog (or by duplicating an existing field), but once the button exists you can change it between any of the available types from the context menu.\\ **Full Width**: Sets the field to //full width// mode. In this mode, it will expand (when Opus isn't in Customize mode) to occupy all the available space in the toolbar. If a field isn't in full width mode you can resize it to any size you like.\\ **Restore Focus**: If this option is enabled, pressing the **Enter** key in the field will return focus automatically to the file display.\\ \\ See the [[field_buttons|Field Buttons]] topic for more information about field buttons.\\ |
Finally, the context menu for the //toolbar// itself (displayed when you right-click an empty area of the toolbar) looks like this:
|{{:media:toolbar_context_menu.png?nolink|}} | |**Customize**: Brings the **Customize** dialog to the front if it has been hidden behind another window.\\ **Factory Reset this Toolbar**: Only available on the [[:basic_concepts:the_lister:toolbars:the_default_toolbars|default toolbars]], this resets the toolbar to its initial settings. Any changes you have made to that toolbar will be lost.\\ **New**: Add a new button, menu, menu button or spacer to the toolbar. The new button appears at the end of the toolbar.\\ **Paste**: When you have copied or cut a button to the clipboard, this command lets you paste it to the end of the toolbar.\\ **Toolbars**: This sub-menu displays a list of all your toolbars, letting you turn them on or off. This sub-menu also contains a **Factory Reset Toolbars** command - selecting this will reset **all** of the [[:basic_concepts:the_lister:toolbars:the_default_toolbars|default toolbars]]to their initial settings. Any changes you have made to the default toolbars will be lost. Any toolbars you have created yourself will be turned off, but otherwise won't be affected.\\ **Lock the Toolbars**: Removes the dragging grips from the edge of the toolbars, preventing you from moving them around.\\ **Close**: Close the toolbar.\\ |