Cascading PopUp menu

Klaus Major klaus at major-k.de
Sat Jan 22 14:17:28 EST 2005


Hi Glen,

> I have a popup menu button that cascades ie
>
> button "transport"
>
> car    >Ford
> boat    GM
>            Toyota
>
> I am trying to figure out how to trap the user selection... say if GM
> is selected I want to go to card GM.

Submenus are returned separated by |

So in your case it will be -> boat|GM

you can:

on menupick which
...
set the itemdel to "|"
put item 2 of which into the_actual_menu_item
...

Hope that helps.

> thanks,

Regards

Klaus Major
klaus at major-k.de
http://www.major-k.de



More information about the Use-livecode mailing list