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.
Newbie Question
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: Newbie Question
Typically radio buttons are grouped, so my code below assumes that..
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-
Code: Select all
if the hilite of btn "MyRadioButton" of group "SomeName" is true then
-- do something
else
-- do something different
end if
HTH,
-Doc-
Re: Newbie Question
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.
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
hilitedButton
hilitedButtonName
hilitedButtonName
Best wishes,
Curry Kenworthy
LiveCode Development, Training & Consulting
http://livecodeconsulting.com/
WordLib: Conquer MS Word & OpenOffice
SpreadLib: "Excel-lent" spreadsheet import/export
http://livecodeaddons.com/
Curry Kenworthy
LiveCode Development, Training & Consulting
http://livecodeconsulting.com/
WordLib: Conquer MS Word & OpenOffice
SpreadLib: "Excel-lent" spreadsheet import/export
http://livecodeaddons.com/
Re: Newbie Question
palette
systemWindow
systemWindow
Best wishes,
Curry Kenworthy
LiveCode Development, Training & Consulting
http://livecodeconsulting.com/
WordLib: Conquer MS Word & OpenOffice
SpreadLib: "Excel-lent" spreadsheet import/export
http://livecodeaddons.com/
Curry Kenworthy
LiveCode Development, Training & Consulting
http://livecodeconsulting.com/
WordLib: Conquer MS Word & OpenOffice
SpreadLib: "Excel-lent" spreadsheet import/export
http://livecodeaddons.com/