radio buttons in group on mouseup behavior suggestions

Mark Wieder mwieder at ahsoftware.net
Sat Apr 18 14:05:24 EDT 2009


william-

Saturday, April 18, 2009, 10:54:44 AM, you wrote:

> I have eight or so radio buttons that are in a group. In the script of the
> group I have a "on mouseup" command that runs another script that checks
> which button is down and then does something. I've noticed that this script
> is inconsistent. Sometimes the mouseup is ignored.
> I'm looking for another way to do this (short of putting a script in each of
> the buttons). Is there some "change of state" property I can look for in the
> group maybe?

You're not really checking which button is "down", are you? As opposed
to checking the hilitedButton of group x? And note that if the mouse
is moved then the hilite may not change and you won't get a mouseUp
event...

-- 
-Mark Wieder
 mwieder at ahsoftware.net




More information about the use-livecode mailing list