Dynamic GUI problem II.
- To: mathgroup at smc.vnet.net
- Subject: [mg89380] Dynamic GUI problem II.
- From: zac <replicatorzed at gmail.com>
- Date: Sun, 8 Jun 2008 02:29:39 -0400 (EDT)
Dear Group, another GUI related question. How to save a list of dynamic values into one variable after allowing the user to input them through e.g. separate sliders, when the actual length of the list (and number of sliders) is not determined preceedingly (here it is 3, but say it can change)? n = 3; a = Table[RandomReal[], {n}]; x = Table[Slider[a[[i]], ImageSize -> 50], {i, n}] Dynamic[Setting[x]] The last line of code clearly won't work, since all sliders were called without any dynamic content. Any suggestions? Istvan Zachar