Push Buttons

Warren Kuhl warrenkuhl at gmail.com
Fri Nov 26 15:25:40 EST 2010


Mike/Andre,

You have been most helpful.  I used the scripts you entered Mike and have
adjusted the colors to my specs.  It is working great.  Thank you both!

Warren

On Fri, Nov 26, 2010 at 1:43 PM, Mike Bonner <bonnmike at gmail.com> wrote:

> The following should do as Andre has suggested, you can mess with the
> opacity to get what you want. I also didn't set your desired colors i'm
> sure, but gives a quick simple example.
>
> on mouseEnter
>   set the colorOverlay["opacity"] of me to 100
>   set the colorOverlay["color"] of me to "0,255,255"
> end mouseEnter
>
> on mouseLeave
>   set the colorOverlay of me to empty
> end mouseLeave
>
> If you're not using the jelly buttons (default button) you can still do it
> the other way too, just depends on which way you want to go.
>
> on mouseEnter
>   set the backgroundColor of me to "0,200,0"
> end mouseEnter
>
> on mouseLeave
>   set the backgroundColor of me to "0,0,250"
> end mouseLeave
>
> Can also mess with borderColor, topColor, bottomColor, shadowColor,
> hilitecolor, foregroundColor and focusColor
>  _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your
> subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>



More information about the use-livecode mailing list