Comparing Lists in Popup Menu's
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Comparing Lists in Popup Menu's
I'm looking for a way to compare elements in popup menus is that possible?
Re: Comparing Lists in Popup Menu's
Hi rpanbwl,
1. welcome to the forum!
2. Sure this is possible, can you be a bit more specific?
Hint:
"Lists in popup menus" is just text that you can access (get and set) with:
the text of btn "your popup menu here"
Best
Klaus
1. welcome to the forum!

2. Sure this is possible, can you be a bit more specific?
Hint:
"Lists in popup menus" is just text that you can access (get and set) with:
the text of btn "your popup menu here"
Best
Klaus
Re: Comparing Lists in Popup Menu's
What Kaus said.
It is not obvious, but buttons are containers, just like fields or variables, and have a text property:
If the button is one of the menu styles, like a "pullDown", then the menuItems will be the text of that button. After you know that, you can compare two buttons in any way you need to.
Craig Newman
It is not obvious, but buttons are containers, just like fields or variables, and have a text property:
Code: Select all
put "ABC" & return & "XYZ" into button "yourButton"
Craig Newman
Re: Comparing Lists in Popup Menu's
Thank you so much!!!