Mathematica 9 is now available
Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2011

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Color - Appearance of Buttons

  • To: mathgroup at smc.vnet.net
  • Subject: [mg123200] Re: Color - Appearance of Buttons
  • From: Armand Tamzarian <mike.honeychurch at gmail.com>
  • Date: Sat, 26 Nov 2011 05:07:53 -0500 (EST)
  • Delivered-to: l-mathgroup@mail-archive0.wolfram.com
  • References: <janpli$b8o$1@smc.vnet.net>

On Nov 25, 9:12 pm, Jakob Ebner <jakob.eb... at gmail.com> wrote:
> If I change the Background of a button to a different color it has
> this "old" M5 style, see the difference between
> Button["test", None]
> Button["test", None, Background -> Orange]
>
> Is there a way to keep the styling for different colors and/or to
> change the color when you hover over the button?
>
> Jakob Ebner

This will do it:

Mouseover[
Button["Click Here", Print[10!], Background -> Red],
Button["Click Here", Print[10!], Background -> Blue]
]

Mike



  • Prev by Date: Re: Memory low for PDE
  • Next by Date: Re: Forcing Certain Algebraic Forms With FullSimplify
  • Previous by thread: Color - Appearance of Buttons
  • Next by thread: Re: Color - Appearance of Buttons