Mathematica 9 is now available
Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
1998
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 1998

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

Search the Archive

Mathematica Palettes



I am trying to write a palette in Mathematica that will change the
format of a cell. I am changing the background, text color, text size
and cell style. I have all working except the cell style. I want to
change it to text from the standard input. Can someone help me out
please!! Please reply to wissen@uiuc.edu

Here is the code I am using:

Cell[
 BoxData[
     ButtonBox[
         RowBox[{"Grading", " ", "Properties"}],
         ButtonFunction:>
          (SetOptions[
            NotebookSelection[SelectedNotebook],
             Background -> RGBColor[1, 0, 0],
             FontSize -> 16,
             FontFamily -> "Times",
What goes here to change the style to text???
 ----->  Style -> "Text",

             FontColor -> RGBColor[ 1, 1, 0]]&)
          ]
       ],
 "Text",Active->True]


Thank you much for your help.

Fred Wissen
wissen@uiuc.edu




  • Prev by Date: DSolve and Erf trouble
  • Next by Date: RE: Plotting Data
  • Prev by thread: RE: DSolve and Erf trouble
  • Next by thread: 3D Graphics in Spherical Coordinates