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:

<WRAP c1borderless>

![](/Manual/images/media/button_context_menu_1.png)

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 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.

</WRAP><wrap clear/>

The context menu for a drop-down menu looks almost the same.

<WRAP c1borderless>

![](/Manual/images/media/button_context_menu_2.png)

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. ![](/Manual/images/media/menu_button.png) See the Drop-down Buttons and Menus topic for more details.

</WRAP><wrap clear/>

Again, the context menu for a drop-down menu button is very similar, with only one additional command.

<WRAP c1borderless>

![](/Manual/images/media/button_context_menu_3.png)

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 (![](/Manual/images/media/always_enable_menu_button.png)) 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.

</WRAP><wrap clear/>

The context menu for a field button looks like this:

<WRAP c1borderless>

![](/Manual/images/media/field_context_menu.png)

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 topic for more information about field buttons.

</WRAP><wrap clear/>

Finally, the context menu for the toolbar itself (displayed when you right-click an empty area of the toolbar) looks like this:

<WRAP c1borderless>

![](/Manual/images/media/toolbar_context_menu.png)

Customize: Brings the Customize dialog to the front if it has been hidden behind another window. Factory Reset this Toolbar: Only available on the 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 default toolbarsto 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.

</WRAP><wrap clear/>

最后更新于