Re: changing color of non-evaluatable cell
- To: mathgroup at smc.vnet.net
- Subject: [mg85205] Re: changing color of non-evaluatable cell
- From: David Reiss <dbreiss at gmail.com>
- Date: Sat, 2 Feb 2008 03:23:38 -0500 (EST)
- References: <fnuh12$9lr$1@smc.vnet.net>
Here's an example of something like this... ExpressionCell[Defer[1 + 1], "Input", Background -> Dynamic[ Switch[CurrentValue[Evaluatable], True, Lighter@Green, False, Lighter@Red ]] ] // CellPrint Hope this helps, David On Feb 1, 2:16=A0am, Makinator <luvly.jubbly.makina... at gmail.com> wrote: > Please could someone help me, > I would like to to set-up mathematica's notebook to automatically > change color to some custom color, when I set this cell as non- > evaluatable. And vice versa, when I set it to evaluatable to change > color to default. > > THX