How to replace all menuItems of an option menu button?
Posted: Sat Oct 06, 2012 8:28 pm
I don't know how to reference the container of all menuItems. returns the particular menuItem.
But, if I want to replace all the menuItems with the contents of a field, doesn't work. The dictionary says that menuItem is a keyword, not a property.
How do I reference the collection of menuItems, so I can deal with them together instead of using a repeat loop?
Thanks,
Sri.
Code: Select all
Put menuItem i of button "Choose Name"
But, if I want to replace all the menuItems with the contents of a field,
Code: Select all
put field "newMenuItems" into menuItems of button "Choose Name"
How do I reference the collection of menuItems, so I can deal with them together instead of using a repeat loop?
Thanks,
Sri.