6 Creating Menus

6.4 The CAPI menu hierarchy

The combination of menu items, menu components and menus creates a hierarchical structure as shown in Figure 6.5. Items in a menu inherit values from their parent, allowing similar elements to share relevant properties whenever possible.

The menu below was created using 5 menu items, 4 of which were grouped together in 2 menu-components. These menu-components were then combined with the fifth item in the menu itself. Note that the:interaction keyword was used with the second menu component to make menu item 3 a radio button.

Figure 6.5 An example of a menu hierarchy


CAPI User Guide, Liquid Common Lisp Version 5.0 - 2 OCT 1997

Generated with Harlequin WebMaker