Re: Hide a PopupMenu in Manipulate
- To: mathgroup at smc.vnet.net
- Subject: [mg86905] Re: Hide a PopupMenu in Manipulate
- From: ragfield <ragfield at gmail.com>
- Date: Wed, 26 Mar 2008 04:48:24 -0500 (EST)
- References: <fsa5ff$adl$1@smc.vnet.net>
On Mar 25, 1:18 am, Patrick Klitzke <philologo... at gmx.de> wrote: > Hello, this is my first question in MathGroub and I hope I send it to > the rigth email adress. I have just began learning Mathematica. I could > not find the solution to the following problem: > I have made a circle and the user should decide, whether the circle > should have a color. If it should, > three PopupMenus should be shown, but when the checkbox is not clicked, > they should not be shown: How about disabling the popup menu? Manipulate[Graphics[{If[color,{color1,Disk[]},{Circle[]}]}], {{color,False,"Color"},{False,True}},{{color1,Blue,"Color1"},{Blue- >"Blue",Green->"Green"},ControlType->PopupMenu,Enabled->color}] -Rob