Menu Bar 

Menu Bar Definition

 

The Menu Bar Definition dialogue is used to define Menu Bar attributes for a panel. It is invoked by selecting Panel > Menus from the Panel Designer menu bar.

You can also select the Menu Bar Definition task on the IDE Main Launcher.

(The Menu Bar Definition task on the IDE was added in PxPlus 2023 Update 1.)

The Menu Bar Definition dialogue consists of the following:

Groups

Lists the currently defined groups or menu levels. This shows existing <Top Level> menu definitions, if any. If subordinates are added to a menu item, a menu expansion symbol (+) appears next to the menu item.

Example:

   A "&Sales" menu item with the subordinate "&Commissions" would display in the Groups list box as "+ &Sales".

Contents Of

Lists the sub-menus that belong to a menu's group. This allows you to add subordinates to menu groups (up to eight levels). Double-click on an existing item or group to edit its properties.

The toolbar consists of the following:

Save

Saves the current Menu Bar definition. If the Menu Bar attribute has not been set in the Panel Header definition, a message will prompt you to set this attribute.

Delete Menu

Deletes the entire Menu Bar definition currently selected.

New Item

Invokes Menu Item/Group Definition for defining a new item.

New Group

Invokes Menu Item/Group Definition for defining a new group.

Menu Link

Invokes Menu Link Definition for defining a menu link.

Delete Item

Deletes a selected menu item or group (same as pressing the Delete key). If selecting a group, its subordinate groups and items are also deleted.

Cut

Cuts the selected menu item or group (all subordinates included).

Copy

Copies the selected menu item or group (all subordinates included).

Paste

Pastes a copied/cut item or group to the highlighted position. Items or groups can be pasted to another level in the same Menu Bar or to a Menu Bar on a different panel.

If pasting a copied/cut item or group with an Alt key that is currently assigned to an existing item or group, a Duplicate Alt Key dialogue will display to allow a different Alt key to be selected.

(The Duplicate Alt Key dialogue was added in PxPlus 2019.)

Move Up/Down

Changes the order of the selected item or group within the Item list box.

Suppress Help

Check box will remove Help menu from the Menu Bar. If not set, NOMADS will use the Help file defined in the Panel Header.

Item Color

(NOMADS Only)

Applies a default text background color for menu entries. Valid formats for Color Selections include predefined system colors (e.g. Light Red), Custom (RGB codes), HTML Hex Color Codes, User Defined colors (e.g. Color17) and string Expressions. See Menu Colors.

(The Item Color option was added in PxPlus 2020.)

Edge Color

(NOMADS Only)

Applies a default color for the left edge portion of the menu. Valid formats for Color Selections include predefined system colors (e.g. Light Red), Custom (RGB codes), HTML Hex Color Codes, User Defined colors (e.g. Color17) and string Expressions. See Menu Colors.

(The Edge Color option was added in PxPlus 2020.)

After saving a new Menu Bar definition, select the Menu Bar check box on the Attributes tab in the Panel Header definition (if not already selected) to display the menu on the panel.