Page 1 of 1
Newbie Question
Posted: Thu Jul 08, 2010 2:41 am
by p4tr1ck
How do you get the value of which radio button is selected?
I have had to resort to global variables which I don't think is necessary.
Thanks.
Re: Newbie Question
Posted: Thu Jul 08, 2010 4:13 am
by doc
Typically radio buttons are grouped, so my code below assumes that..
Code: Select all
if the hilite of btn "MyRadioButton" of group "SomeName" is true then
-- do something
else
-- do something different
end if
Of course you might rather want to check to see if it is false, rather than true, but in either case what you are looking for is the "hilite" of the radio button being either true or false.
HTH,
-Doc-
Re: Newbie Question
Posted: Thu Jul 08, 2010 5:14 am
by p4tr1ck
Thanks!
Would the same property apply to check boxes as well?
Also, what is the property for a window to stay on top? I can't find it in the dictionary.
Thanks again for your help.
Re: Newbie Question
Posted: Thu Jul 08, 2010 7:03 am
by Curry
hilitedButton
hilitedButtonName
Re: Newbie Question
Posted: Thu Jul 08, 2010 7:06 am
by Curry
palette
systemWindow