MathGroup Archive 2008

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

Search the Archive

Re: Dynamic GUI problem III.


On Jun 8, 9:31 am, zac <replicator... at gmail.com> wrote:
> ... and again an unexpected behaviour:
>
> h = {5, 4, 3, 2, 1};
> n = 2;
> Slider[Dynamic[n], {0, 5, 1}]
> a = Dynamic[Take[h, n]];
> TogglerBar[Dynamic[b], a]
>
> TogglerBar is not evaluated at end. Any idea?

Hello Istv=E1n,

Try the following:

h = {5, 4, 3, 2, 1};
n = 2;
Slider[Dynamic[n], {1, 5, 1}]
a = Dynamic[Take[h, n]];
Dynamic@TogglerBar[Dynamic[b], Take[h, n]]


  • Prev by Date: Re: where is "Mathematica in education and research"?
  • Next by Date: Notebooks location
  • Previous by thread: Dynamic GUI problem III.
  • Next by thread: Re: Dynamic GUI problem III.