From: John Fultz on
You shouldn't get the idea that WRI frowns on nested Manipulates. Nesting
Manipulates is a very powerful technique, and Mathematica fully supports it.

The Demonstrations project, however, has certain constraints above and beyond
concerns about what works well in Mathematica. The Demonstrations editors seek
to offer a certain uniformity in experience, and a smooth ride through our
automated system for creating web-based previews.

Sincerely,

John Fultz
jfultz(a)wolfram.com
User Interface Group
Wolfram Research, Inc.

On Wed, 3 Mar 2010 05:50:45 -0500 (EST), Christoph Lhotka wrote:
> hi, although once somebody from WRI told me not to do so (when writing a
> demonstration), I like the idea of nesting Manipulate's :
>
> Manipulate[
>
> Manipulate[{x, y, z}, Evaluate[Sequence @@ Take[{{x, 0, 1}, {y, 0, 1},
> {z, 0, 1}}, len]]],
>
> {len, {1, 2, 3}}]
>
> will construct a Manipulate object with variable numbers of controllers.
>
> Christoph
>
> Dominic wrote:
>> Hi,
>>
>> Can I set up a Manipulate with a variable number of controls? The code



First  |  Prev  | 
Pages: 1 2
Prev: Functions
Next: auto-save in Mathematica