listbox

Hi all,

Short questions: what is the easiest way to create a textwave (as a support for a Listbox) to contain all the files from the root of the DataBrowser.
I know Make/T textwave={"1", "2", ....}, but how can I extend it to get automatically all the waves in the folder?


Or maybe an easy way to create a "replica" Listbox of the DataBrowser that one can include it in some panels...

Thanks !

best, T

Hello T.,

Not sure why you need this but you could, in any data folder execute something like:

Make/t ttt=StringFromList(p,WaveList("*",";",""))

Obviously you should first make sure there is a good reason why not to use the wave selection widget.

A.G.
WaveMetrics, Inc.
Choose File->Example Experiments->Programming->WaveSelectorWidgetExample.

Perhaps this is what you want.