radio buttons in group on mouseup behavior suggestions

william humphrey shoreagent at gmail.com
Sat Apr 18 15:25:06 EDT 2009


Thanks for the suggestion. I think I'll do that because I suspect the error
is in the name of one of the buttons.

On Sat, Apr 18, 2009 at 3:02 PM, Mark Wieder <mwieder at ahsoftware.net> wrote:

> william-
>
> 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
>      break
>    case 2
>      -- do the second button thing
>      break
>    ...
>    default
>      -- shouldn't ever get here
>      -- so display an error message
>  end switch
>
> --
> -Mark Wieder
>  mwieder at ahsoftware.net
>
> _______________________________________________
> use-revolution mailing list
> use-revolution at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-revolution
>



-- 
http://www.bluewatermaritime.com



More information about the use-livecode mailing list