MathGroup Archive 2007

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

Search the Archive

Re: Button Help Example


>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



  • Prev by Date: advanced fill effects for graphics primitives
  • Next by Date: Aspect Ratio question
  • Previous by thread: RE: Identifying Linearly Dependent Equations
  • Next by thread: Re: Button Help Example