Interesting radio button behaviour

Howard Bornstein howard.bornstein at gmail.com
Fri Aug 21 14:47:56 EDT 2009


Hi David,

I'm not sure I fully followed your description but this is what I found.

I can verify that your first point happens on Macintosh systems.
Right-clicking a non-hilited radio button in a group deselects the hilited
button in the group. I guess it's just processing the click and not making a
distinction between right or left clicks.

On your second point, I can verify that when autohilite is off on all the
buttons, a click on a non-hilited button unhilites the hilited button,
whether it's a standard radio button or a user icon. This is what you would
expect. This is normal operation for radio buttons except that it doesn't
hilite the button you just clicked because you've turned off that
capability. I found no difference between buttons that use icons and the
standard radio button in this regard.

-- 
Regards,

Howard Bornstein
-----------------------
www.designeq.com

On Thu, Aug 20, 2009 at 2:54 PM, David Glasgow <
david at dvglasgow.wanadoo.co.uk> wrote:

> I stumbled across two more interesting radio button behaviours which I
> didn't know before, and mention out of interest.
>
> It seems a right click on a non hilited button deselects the hilited
>  button without setting a new hilite.  I haven't found any Mac radio buttons
> that do this, so I'm not sure whether it is one of those cross platform
> compromises.  It could be a gotcha if at least one of a number of radio
> buttons should always be hilited.
>
> Using an icon and hilited icon rather than the standard blob exposes
> different behaviour.  Even if the autoselect is set to false, *left*
> clicking on an unhilited button has the same result as above.
>
> Funny eh?
>
> David G



More information about the use-livecode mailing list