Menu Table

A **menu table** (or mTable), is a datastructure we use to create menubars for structuring an application.

Keepass: Global | Keypass | Menu: live Edit: rev Encrypt: Global | Keypass | Encrypt | Menu Dev: Global | Keypass | Dev | Menu: cached Help: rev

The first column (mName) refers to the single-word name that describes how the menu appear on the menubar.

The second column has three options: - Empty => work out mTitle from mName - Menu Title - rev => a default Livecode IDE menu named mName.

Examine the following example:

Keepass Edit: rev Encrypt: Global | Keypass | Encrypt | Menu Dev: Global | Keypass | Dev | Menu: cached Help

**Keypass** will appear as the name of the first leg-most menu. Its contents will be rendered by the Global | Keepass | Menu which is a menu-controller that could be anywhere in the Livecode environment.

**Edit** is the second menu from the left, and it will be rendered with menu-items form the default Livecode Edit Menu.

**Encrypt** and **Dev** are rendered by the menu-controllers specified, but the **Dev** menu is not rendered live, but cached. See Menu Rendering.

Finally the **Help** menu is rendered last, and uses a menu title derived from its name => Global | Help | Menu.

# See also - mItems and mTable - Menu Tool and Menu Group

Site Owned by: David Bovill