Page 1 of 1

query the current status of a radio Button

Posted: Fri Mar 09, 2012 9:19 am
by Nakia
Is there a way to query the current status of a radio button?
searching for radio button in the dictionary provides no information at all?

Re: query the current status of a radio Button

Posted: Fri Mar 09, 2012 9:42 am
by jmburnod
Hi Nakia,

if i understand what you want you can use a script like that:

Code: Select all

on mouseup
   if the hilite of btn "MyRadioBtn" then
      -- do what you want
   else
      -- do what you want
   end if
end mouseup
Best regards

Jean-Marc

Re: query the current status of a radio Button

Posted: Fri Mar 09, 2012 12:31 pm
by Klaus
Hi Kia,

yes, for CHECKBOXes and RADIOBUTTONs you can check their "hilite" property for true/false.


Best

Klaus