Help making a Palette
- To: mathgroup at smc.vnet.net
- Subject: [mg15158] Help making a Palette
- From: "Ersek, Ted R" <ErsekTR at navair.navy.mil>
- Date: Wed, 16 Dec 1998 03:11:29 -0500
- Sender: owner-wri-mathgroup at wolfram.com
Can anyone figure out how to make a palette with the two buttons
described below.
______________
The first button should be labeled
"Turn off spell messages".
When depressed it should evaluate the following compound expression.
Off[General::spell,General::spell1]; Print["Messages {General::spell,
General::spell1} are now off."]
The result of Print[...] should be displayed in the selected notebook.
______________
The second button should be labeled
"Turn on spell messages".
When depressed it should evaluate the following compound expression.
On[General::spell,General::spell1];
Print["Messages {General::spell, General::spell1} are now on."]
Again the result of Print[...] should be displayed in the selected
notebook. ________________
Thanks,
Ted Ersek