Menu painter views

You use two views to specify menu items that display in the menu bar and under menu bar items:

Table 14-1: Views in the Menu painter

This view

Displays

Tree Menu view

All the menu items at the same time when the tree is fully expanded. To fully expand the tree or collapse the expanded tree, press Ctrl+Shift+*.

WYSIWYG Menu view

The menu as you will see it and use it in your application, with the exception of invisible menu items that do display.

The Tree Menu view and the WYSIWYG Menu view are equivalent. You can use either view to insert new menu items on the menu bar or on drop-down or cascading menus, or to modify existing menu items. The menus in both views change when you make a change in either view.

You specify menu properties in two views:

Table 14-2: Views in the Menu painter

This view

Displays

Properties view (for the top-level menu object)

General and Appearance tab pages for setting menu-wide properties

Properties view (for submenu items)

General and Toolbar tab pages for setting properties for submenu items and toolbars

Views for the top level menu object

This Menu painter layout is for the top level menu object, m_pbapp_frame. The Tree Menu view is in the top left and the WYSIWYG Menu view is in the top middle. The General and Appearance tab pages display in the Properties view on the right. For more information about these properties, see “Setting menu style properties for contemporary menus”.

The sample shows the Menu painter layout. The title bar displays the text m _ pbapp _ frame inhertied from menu - Menu. The Tree Menu view at top left shows an expanded view of m _ pbapp _ frame with all its menu options. To its right is the WYSIWYG view of m _ pbapp_ frame with the options New, Open, Close, which is grayed, Print, Print Setup, Tool bars, and Exit. The General tab of the Properties view displays the menu’s general properties at far right and the Script view at bottom left displays.

Views for submenu items

This Menu painter layout is for a menu item under the top level, in this case the Open menu item. The Tree Menu view is in the top left and the WYSIWYG Menu view is in the top middle. The General and Toolbar tab pages display in the Properties view on the right. For more information about these properties, see “Setting General properties for menu items”.

The sample shows the Menu painter layout. The title bar displays the text m _ employees _ frame ( employees) inhertied from menu - Menu. The Tree Menu view at top left shows an expanded view of m _ employees _ frame with all its menu options. To its right is the WYSIWYG view of m _ m _ employees  _ frame with the options New, Open, Close, which is grayed, Print, Print Setup, Tool bars, and Exit. The General tab of the Properties view displays the menu’s general properties at far right and the Script view at bottom left displays.