Toggling a Single Radio Button

Ray ray at linkit.com
Mon Mar 9 14:58:42 EDT 2015


Does anybody know how to toggle a single radio button so it behaves like 
a check box?  That is, if it's highlighted when you click it the button 
becomes dehighlighted and vice versa?

This does not work:

on mouseUp
    if the hilite of me = true then
       set the hilite of me to false
    else set the hilite of me to true
end mouseUp

Any ideas for this simple task?




More information about the use-livecode mailing list