how to populate the menu items of a pulldown menu

Bob Sneidar bobs at twft.com
Wed Jan 25 14:42:48 EST 2012


get the text of button "myPullDownNemu"
put "Choice 1" & cr & "Choice 2" & cr after it
set the text of button "myPullDownNemu" to it

Is that what you were looking to do?

Bob


On Jan 25, 2012, at 11:05 AM, Marty Billingsley wrote:

> Hi all --
> 
> How can you programmatically add items to a pulldown menu button?  Is this a settable property?
> 
> Been looking through the documentation, but haven't come across anything.
> 
> Thanks,
> - marty
> 
> --
> Marty Billingsley
> Department of Computer Science
> The University of Chicago Laboratory Schools
> _______________________________________________
> 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





More information about the use-livecode mailing list