Services & Resources / Wolfram Forums / MathGroup Archive
-----

MathGroup Archive 2008

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

Search the Archive

Re: Dynamic GUI problem III.

  • To: mathgroup at smc.vnet.net
  • Subject: [mg89463] Re: Dynamic GUI problem III.
  • From: Szabolcs <szhorvat at gmail.com>
  • Date: Tue, 10 Jun 2008 03:40:55 -0400 (EDT)
  • References: <g2fubl$2gd$1@smc.vnet.net>

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.