From: Andrew on 24 Feb 2010 05:27 I'm writing a GUI in which I read (from a single file) multiple datasets and plot them on a graph. these datasets can then be manipulated individually with their own pushbutton and a slider. This all works OK. At the moment however, I can only deal with up to five datasets. Of course I could create more and more buttons/sliders for more and more datasets, but what I would like to do is tell the GUI ''read in 2 datasets'' for example, and it creates 2 pushbuttons and 2 sliders. Then I could tell the GUI to read 20 datasets, and it should create 20 pushbuttons and 20 sliders (and hopefully automatically rescale the GUI). Is there a standard way to achieve this? Thanks for your time, Andy
|
Pages: 1 Prev: Using wildcards with dir function Next: Execution speed vs. path "architecture" |