Re: Button Help Example
- To: mathgroup at smc.vnet.net
- Subject: [mg81280] Re: Button Help Example
- From: Cca <cca at gregosetroianos.mat.br>
- Date: Tue, 18 Sep 2007 00:44:01 -0400 (EDT)
- Reply-to: Cca <cca at gregosetroianos.mat.br>
>Button["Color...", SystemDialogInput["Color"]]
>It does indeed open the color selector,
>but when one selects a color and
>clicks OK nothing seems to happen.
Here is a "functional example":
DynamicModule[{mycolor = GrayLevel[0]},
{Button["Color...",
mycolor = SystemDialogInput["Color"]],
Dynamic@Graphics[{mycolor, Disk[]}]}]
Is tha OK?
Carlos César de Araújo
Gregos & Troianos Educacional
http://www.gregosetroianos.mat.br
MSN: cca_gregosetroianos at hotmail.com
Belo Horizonte, MG, Brasil
(31) 3283-1122