Hi guys,
Quick question. I want to be able to advance through the choices of a menu with a button, causing the selectedtext of the menu to change.
I tried
Code: Select all
put line (lineoffset(selectedtext of btn "menu",btn "menu") + 1) of btn "menu" into selectedtext of btn "menu"
but that didn't work, not sure why, it was a bit of a shot in the dark anyway

but I thought I could search the text of the button for the current selectedtext, then add 1 to the line number of set that as the new selectedtext of the button. Maybe it would work with a slight change or maybe there's a better way to do this...
Any suggestions?