Page 1 of 1
					
				Comparing Lists in Popup Menu's
				Posted: Sun Oct 25, 2015 3:04 pm
				by rpanbwl
				I'm looking for a way to compare elements in popup menus  is that possible?
			 
			
					
				Re: Comparing Lists in Popup Menu's
				Posted: Sun Oct 25, 2015 3:09 pm
				by Klaus
				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
 
			
					
				Re: Comparing Lists in Popup Menu's
				Posted: Sun Oct 25, 2015 4:11 pm
				by dunbarx
				What Kaus said.
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"
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
 
			
					
				Re: Comparing Lists in Popup Menu's
				Posted: Mon Oct 26, 2015 7:22 pm
				by rpanbwl
				Thank you so much!!!