Re: On Packages and Buttons
- To: mathgroup at smc.vnet.net
- Subject: [mg39498] Re: [mg39482] On Packages and Buttons
- From: Selwyn Hollis <selwynh at earthlink.net>
- Date: Thu, 20 Feb 2003 05:13:23 -0500 (EST)
- Sender: owner-wri-mathgroup at wolfram.com
Jan, Here's an example: ButtonBox["Load Colors Package", ButtonFunction :> << Graphics`Colors`, ButtonEvaluator -> Automatic, Active -> True] // DisplayForm (The Active -> True option is not necessary, except to make the button work in a notebook as well as a palette.) ----- Selwyn Hollis On Wednesday, February 19, 2003, at 04:41 AM, Jan Mangaldan wrote: > > Has anyone here made a button that loads packages, i.e. a button that > when clicked on, will load a prespecified package. > > If so, how do you make one? > > > Jan M. (^_^) > > > >