MathGroup Archive 2007

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Button Help Example


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/




  • Prev by Date: Re: Button Help Example
  • Next by Date: Re: plotmarkers in Listplot
  • Previous by thread: Re: Button Help Example
  • Next by thread: Re: Button Help Example