MathGroup Archive 2007

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

Search the Archive

Re: Button[label, action] Change Font?

  • To: mathgroup at
  • Subject: [mg83606] Re: [mg83568] Button[label, action] Change Font?
  • From: Carl Woll <carlw at>
  • Date: Sat, 24 Nov 2007 04:15:42 -0500 (EST)
  • References: <>

Joe Sneed wrote:

>I want to change the font of the button label, but apparently can't do this.
>Using the "basic example" as input
>Button["Click Here" Print[10!]]
>obtaining the button with "Click Here" with type face plain, font Ariel. 
Use Style. For example:

Button[Style["Click Here", Red, 24, FontFamily -> "Times"],

Carl Woll
Wolfram Research

>I can change the type face from the format menu to obtain type face 
>bold. But I can not change the front, even though the corresponding 
>expression (below) reveals that the font should be "Ariel Black", this 
>face is not displayed.
>I can also change the type color, but apparently not the size.
>Might there  be some place where some things are set globally that 
>overrides this setting?
>ButtonBox["\<\"Click Here\"\>",
>ButtonData->"paclet:ref/Click Here",
>Method->"Preemptive"]], "Output",
>ImageSize->{61, 25},
>ImageMargins->{{0, 0}, {0, 0}},
>ImageRegion->{{0, 1}, {0, 1}},
>FontFamily->"Arial Black",
>Any help much appreciated....

  • Prev by Date: Re: Contour Lines
  • Next by Date: Re: Coloring cells
  • Previous by thread: Button[label, action] Change Font?
  • Next by thread: Re: Button[label, action] Change Font?