Modifying an inherited menu

When you build and save a menu, PocketBuilder treats the menu as a unit that includes:

When you use inheritance to build a menu, everything in the ancestor menu is inherited in all of its descendants.

What you can do

In a descendent menu, you can do the following:

What you cannot do

You cannot do the following in a descendent menu:

NoteHiding a menu item If you do not need a menu item in a descendent menu, you can hide it by clearing the Visible property in the Properties view or by using the Hide function.

About menu item names in a descendant

PocketBuilder uses the following syntax to show names of inherited menu items:

AncestorMenuName::MenuItemName

For example, in a menu inherited from m_update_file, you see m_update_file::m_file for the m_file menu item, which is defined in m_update_file.

The inherited menu item name is also locked, so you cannot change it.

Understanding inheritance

The issues concerning inheritance with menus are similar to the issues concerning inheritance with windows and user objects. For information, see Chapter 12, “Understanding Inheritance.”