Naive question about cascading menus

Dar Scott dsc at swcp.com
Sat Mar 13 22:46:07 EST 2004


On Saturday, March 13, 2004, at 03:49 PM, Graham Samuel wrote:

> Folks, I've puzzled over the docs, but I can't understand how I can 
> have a menu in a normal menu bar (not a stack menu) which can have 
> some items that cascade (i.e. have submenus) and some that don't.

Naive answer:

 From the Doc...

> Creating Cascading Menus
> To create a cascading menu (also called a submenu, pull-right menu, or 
> hierarchical menu), add a tab character to the start of menu items 
> that you want to place in the submenu.
>
> For example, the following text, when placed in a menu button, creates 
> two menu items, then a submenu containing three more items, and 
> finally a last menu item:
>
>     First Item
>     Second Item
>     Third Item Is A Submenu
>  		First Item In Submenu
>  		Second Item In Submenu
>     Last Menu Item Not In Submenu
>
> The depth of a submenu item is determined by the number of tab 
> characters before the menu item’s name. The submenu item becomes part 
> of the closest line above the submenu item that has one fewer leading 
> tab character.

Or did I miss a key part of the question.

Dar Scott




More information about the use-livecode mailing list