radio buttons in group on mouseup behavior suggestions

Mark Wieder mwieder at
Sat Apr 18 15:02:54 EDT 2009


Saturday, April 18, 2009, 11:15:36 AM, you wrote:

> It was just a simple "mouseup" in the group script that goes through and
> checks the hilite of each button in the group and then does an action
> depending on that hilite like:

>    *if* the hilite of button "(CO)" is true *then* do something

Sounds OK, although I usually do something like

  switch the hilitedButton of group x
    case 1
      -- do the first button thing
    case 2
      -- do the second button thing
      -- shouldn't ever get here
      -- so display an error message
  end switch

-Mark Wieder
 mwieder at

More information about the use-livecode mailing list