Share this page

# Add command, separator, or submenu

Add a command, separator or submenu when you want to include or arrange menu options to a pulldown or right-click menu or toolbar.

In this topic:

## Position command, separator, or submenu

To position a command, separator, or submenu, select the existing element that the new element is to precede. If the new element is to be the last or the only element on a menu/submenu, select the next higher-level node instead.

Note: If you want to add a command or a separator immediately preceding a submenu, you cannot do so directly. You need to add the command/separator somewhere below the submenu and afterward to move this element upwards (as described below) until it precedes the submenu.

To add a submenu immediately preceding a submenu, temporarily add a separator (or a command) and move it into position (as explained above) to act as a "placeholder". Then select it and add the submenu to precede it. Finally, remove the placeholder.

Back to top

## Add command, separator, or submenu

You can add commands, separators, and submenus.

To add a command:

1. Complete the steps in Change menus and toolbar.

2. From the Categories list, select the category that contains the command you want to add.

   The commands belonging to that category appear in the Commands list below.

3. From the Commands list, select the command you want to add.

   The description below the Commands list describes the command you have chosen.

4. Click Add. The command is added to the menu structure with default wording which, if you wish, you can then edit (see below).

To add a separator:

Click Add Separator.

An entry is displayed as "-----(Separator)-----" in the tree structure. On the menu/submenu, it is displayed as a horizontal line, and on a tool bar it is displayed as a narrow space between the preceding and following icons.

To add a submenu:

Note: You cannot add a submenu on the toolbars.

1. Click Add Submenu.

   An entry is displayed as "-----(Submenu)-----".

2. Edit this text to your required wording as described below in To edit the name of a command or a submenu.

Bear in mind that this addition is now another node which must be taken into account in the rule (explained above) for placing any further additions.

Back to top

## Edit command or submenu name

You can edit the name of a command or a submenu.

To edit the name:

Note: This is not relevant for the tool bar.

1. In the structure tree on the left, select the element whose wording you want to change.

2. Click Edit Item. The existing wording appears highlighted, followed by a cursor.

3. To change the description, type or overtype the field.

4. Click End Edit.

Back to top

## Define keyboard shortcuts

You can assign keyboard shortcuts to commands and submenus, and change existing shortcuts.

To define a keyboard shortcut:

1. In the structure tree on the left, select the command or submenu whose keyboard shortcut you want to define or change.

2. Click Edit Item. The existing wording is highlighted, followed by a cursor.

3. Insert an "&" (ampersand) preceding the letter to be used if you want to make this command or submenu selectable by typing that letter on the keyboard. (In the menu, this letter is displayed underlined.) To change the letter, delete the existing ampersand and reinsert it before the required letter.

Note that the same letter cannot be used more than once in any one menu or submenu, so if you want this feature to be available, for a given element, you may sometimes need to move the "&" in some of the commands so that it precedes a different letter.

4. Click End Edit.

Back to top

## Change element position

You can change the position in which an element is displayed, and remove an element from a menu or a submenu.

To change the element position:

On this menu, or on one of its submenus:

1. In the structure tree on the left, select the command or separator that you want to reposition.

2. Click Up or Down to move the element up or down in the tree.

3. Repeat as necessary, until the elements appear in the desired order.

To remove an element from a menu or a submenu:

1. In the structure tree on the left, select the command, separator, or submenu that you want to remove.

   The wording of the selected command appears beneath the structure tree for you to confirm which command you have selected.

   Note: You cannot remove a submenu if there are any commands within it, you must first remove all the subitems before you can remove the submenu entry.

2. Click Remove Item.

Back to top

https://admhelp.microfocus.com Dimensions CM 8942
Tips to improve your search results... Dimensions CM Help Center CM Help 14.7 All View Local Help Center View Online Help Center Version: