Page 1 of 1

How to check the status of a checkbox in code

Posted: Mon Feb 22, 2021 2:47 am
by trags3
I need to determine if a checkbox is checked or not in code.
I'm stumped

Tom

Re: How to check the status of a checkbox in code

Posted: Mon Feb 22, 2021 4:11 am
by Xero
from user gpb01:

Code: Select all

  on mouseUp
       if the hilite of button "buttonName" then   ---is if it is true/ checked
          -- do something
       else
          -- do something else
       end if
    end mouseUp
i.e. use "hilite" is true or false...
XdM

Re: How to check the status of a checkbox in code

Posted: Mon Feb 22, 2021 4:31 am
by trags3
Thank you!
tom

Re: How to check the status of a checkbox in code

Posted: Mon Feb 22, 2021 7:04 pm
by liveme
Cool, thanks too ! :idea: