This seems like something I really ought to know, but I just can't crack it: how can I (can I?) populate an Option Menu button with menu items by script?
I have a long list that's generated on the fly, and I want it to be presented in an Option Menu.
Building Option Menu items on the fly
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
-
- VIP Livecode Opensource Backer
- Posts: 346
- Joined: Mon Mar 01, 2010 7:13 pm
- Location: London, UK
- Contact:
Building Option Menu items on the fly
Technical Writer, Meta
University Lecturer
Technical Editor, MacUser (1996-2015)
360 VR media specialist
University Lecturer
Technical Editor, MacUser (1996-2015)
360 VR media specialist
Re: Building Option Menu items on the fly
Hi Keith,
you want to "set the text of btn xyz" to your long CR delimited list
Don't forget to "escape" characters like / etc... if neccessary!
Best
Klaus
you want to "set the text of btn xyz" to your long CR delimited list
Don't forget to "escape" characters like / etc... if neccessary!
Best
Klaus
-
- VIP Livecode Opensource Backer
- Posts: 346
- Joined: Mon Mar 01, 2010 7:13 pm
- Location: London, UK
- Contact:
Re: Building Option Menu items on the fly
Ahh! I was thinking along the lines of the menuItems, but of course that got me nowhere. Thanks.
Technical Writer, Meta
University Lecturer
Technical Editor, MacUser (1996-2015)
360 VR media specialist
University Lecturer
Technical Editor, MacUser (1996-2015)
360 VR media specialist