Option Menus

Todd Geist todd at geistinteractive.com
Mon Jun 6 12:04:45 EDT 2011


Thanks everyone

And thanks Ken especially for pointing out the format for the the other
menus, I can use those just as is.


Thanks

Todd

On Mon, Jun 6, 2011 at 7:07 AM, Ken Ray <kray at sonsothunder.com> wrote:
>
>
> It's a shame you need to use Option menus, because the pulldown/popup form
> has been extended to allow for abritrary tagging (as of 4.0 I believe).
> It's
> the form:
>
> <itemName>/<acceleratorKey>|<tag>
>
> and if you don't want to show and <acceleratorKey>, you just omit it. So if
> you were using a popup menu for example, you could put this into the
> button:
>
> Apple/|red
> Orange/|orange
> Lemon/|yellow
>
> and the user would only see choices for "Apple", "Orange", and "Lemon", but
> if they picked "Apple", you would get "red" coming into your menupick
> handler instead of "Apple".
>
>
> Ken Ray
> Sons of Thunder Software, Inc.
> Email: kray at sonsothunder.com
> Web Site: http://www.sonsothunder.com/
>
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>


Todd Geist
------------------------------
geist interactive <http://www.geistinteractive.com>
805-419-9382



More information about the use-livecode mailing list