hiliting only one button of a group

Phil Davis davis.phil at comcast.net
Mon Feb 6 01:20:07 EST 2006


Hi Nicolas,

1) make sure all buttons in your group have autoHilite = false


2) put this handler in the group script:

on mouseDown
   set the hilitedButtonID of me to the short ID of the target
end mouseDown


3) start clicking!


Phil Davis

(If you would rather have the target button become recessed at mouseUp 
time, just change 'mouseDown' to 'mouseUp' above.)


N Cueto wrote:
> Hello All,
> 
> I want to reproduce a radio-button
> group behaviour, but with push
> buttons. I.e., only one push
> button of a group of push button
> can appear hilited (recessed?)
> at a time.
> 
> BTW, the Archive Search plugih,
> which usually works -- and 
> very well at that! -- doesn't
> appear to be working. It's now
> returning empty search results
> continually.
> 
> Cheers,
> Nicolas Cueto
> _______________________________________________
> 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
> 




More information about the use-livecode mailing list