Fwd: Push Buttons
Mike Bonner
bonnmike at gmail.com
Fri Nov 26 14:43:18 EST 2010
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
More information about the use-livecode
mailing list