Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2007
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2007

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

Search the Archive

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/




  • 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