Re: Button Help Example
- To: mathgroup at smc.vnet.net
- Subject: [mg81256] Re: Button Help Example
- From: David Reiss <dbreiss at gmail.com>
- Date: Tue, 18 Sep 2007 00:31:36 -0400 (EDT)
- References: <fclav5$fcj$1@smc.vnet.net>
One very quick example.... I am sure that there are simpler ones:
Button["Color...",
Module[{nb = InputNotebook[]},
NotebookWrite[nb,
ToBoxes@SystemDialogInput["Color"]]]]
--David
On Sep 17, 3:39 am, "David Park" <djmp... at comcast.net> wrote:
> One of the examples in the Button documentation is one that opens the color
> selector:
>
> Button["Color...", SystemDialogInput["Color"]]
>
> It does indeed open the color selector, but when one selects a color and
> clicks OK nothing seems to happen.
>
> Can anyone turn this into a useful and functional example?
>
> --
> David Park
> djmp... at comcast.nethttp://home.comcast.net/~djmpark/