 
 
 
 
 
 
Re: Background Colors in The Format Menu
- To: mathgroup at smc.vnet.net
- Subject: [mg42939] Re: Background Colors in The Format Menu
- From: lalu_bhatt at yahoo.com (Bhuvanesh)
- Date: Tue, 5 Aug 2003 02:04:54 -0400 (EDT)
- References: <200307302331.TAA25666@smc.vnet.net> <bgkooh$agt$1@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Murray Eisenberg <murray at math.umass.edu> wrote:
> How would one add those menu choices to the Text Color dialog?
> 
> Here's what I tried (analogous to what was suggested by John Fultz in 
> ).  Inside AddOns > Autoload I created new directories 
> TextColors > FrontEnd and in the latter placed an init.m with contents:
> 
> AddMenuCommands["TextColorsDialog", {Delimiter,
>   Item["HelpBrowser Brick", FontColor -> RGBColor[0.592157, 0.313726, 
> 0.313726]],
>   Item["Mocha", FontColor -> RGBColor[0.501961, 0.25098, 0]],
>   Item["Ocean", FontColor -> RGBColor[0, 0.25098, 0.501961]],
>   Item["Eggplant", FontColor -> RGBColor[0.25098, 0, 0.501961]]}]
> 
> But nothing seems to happen,  I also tried token names "TextColorDialog" 
> and "TextDialog", with the same non-result.
> 
> What is the correct token name or other magic needed to do this?
It's called FontColorDialog. If you have Mathematica 5 and you look in
the Help Browser under Front End -> Front End Tokens -> Format Menu,
the tokens for items under the Format menu will be listed.
--
Bhuvanesh
Wolfram Research
Disclaimer: All opinions expressed herein are my own and do not
necessarily represent those of Wolfram Research.
- Follow-Ups:
- Re: Re: Background Colors in The Format Menu
- From: Murray Eisenberg <murray@math.umass.edu>
 
 
- Re: Re: Background Colors in The Format Menu

