use-revolution Digest, Vol 16, Issue 68
Glen Bojsza
gbojsza at gmail.com
Sat Jan 22 22:00:28 EST 2005
Yes, this does cover the other issue.
thanks!
On Sat, 22 Jan 2005 21:52:48 EST, Cubist at aol.com <Cubist at aol.com> wrote:
>
> In a message dated 1/22/05 5:43:17 PM,
> use-revolution-request at lists.runrev.com writes:
>
> >
> >Message: 12
> >Date: Sat, 22 Jan 2005 20:17:28 +0100
> >From: Klaus Major <klaus at major-k.de>
> >Subject: Re: Cascading PopUp menu
> >To: Glen Bojsza <gbojsza at gmail.com>, How to use Revolution
> > <use-revolution at lists.runrev.com>
> >Message-ID: <4150E19D-6CAA-11D9-A175-000A27B49A96 at major-k.de>
> >Content-Type: text/plain; charset=US-ASCII; format=flowed
> >
> >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
> >...
> What if the user picks an item from the actual *menu*, and not a
> *sub*menu? Perhaps this might be better:
>
> on menuPick which
> set the itemDelimiter to "|"
> put the last item of which into TheChosenMenuItem
> # whatever other stuff goes here
> end menuPick
>
> Hope this helps...
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> http://lists.runrev.com/mailman/listinfo/use-revolution
>
More information about the use-livecode
mailing list