Hello again,
How would I gather a list of the highlighted buttons in a group of buttons?
Thanks
Tom
A list of highlighted buttons
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller
Hi tom,
put the hilitedButton of group "myGroup" works for radio button clusters (a group which has the radioBehaviour set to true)
If you allow for multiple hilites in a group, you will need to go through the group in a repeat loop
hope that helps,
Malte
put the hilitedButton of group "myGroup" works for radio button clusters (a group which has the radioBehaviour set to true)
If you allow for multiple hilites in a group, you will need to go through the group in a repeat loop
Code: Select all
repeat with i=1 to the number of buttons of group "myGroup"
if the hilite of button i of grp "myGroup" then put the long ID of btn i of grp "myGroup"&cr after theList
end repeat
delete char -1 of theList
put theList
Malte