Re: Manipulate question
- To: mathgroup at smc.vnet.net
- Subject: [mg94428] Re: Manipulate question
- From: jmbryant12 at gmail.com
- Date: Fri, 12 Dec 2008 06:58:13 -0500 (EST)
- References: <ghqk3t$189$1@smc.vnet.net>
On Dec 11, 2:47 am, "Coleman, Mark" <Mark.Cole... at LibertyMutual.com> wrote: > Greetings > > I'm working on a Manipulate-based interface that takes user input from > several drop down menus (in my application there are 9 of them) and then > runs a set of calculations based upon the user's choices. By default What you want is the option TrackedSymbols. By default Manipulate tracks all symbols in its contents. If you only want some of the controls to trigger updates, you can specify them. Make sure to use a delayed rule. Here's an example. Only the last 2 controls trigger an update in the output: Manipulate[ {a = a2, b = b2}, {a, 0, 4, 1}, {b, {0, 1, 2, 3, 4}}, {a2, 0, 4, 1}, {b2, {0, 1, 2, 3, 4}}, TrackedSymbols :> {a2, b2} ] Hope this helps, -Jeff Bryant Wolfram Research, Inc. > Manipulate will run the calculation every time the user changes any of > the drop down menus. Ideally I'd like to have the interface not do any > computation until the user makes all of their selections and then > explicitly initiates the calculation (ideally using something like a > 'Calculate' button). Does anyone have an example of how this might work? > > Thanks, > > Mark