Dialog to select multiple waves?
LTKunneman
I would like to make a dialog where a user can select multiple waves, which should all receive some treatment (i.e. become input of a function for analysis or custom smoothing).
The ideal scenario would be this:
1) A user is inspecting a graph with several traces, then decides that one or more traces should receive some treatment.
2) The user starts a function which displays a list of tracenames or wavenames on the graph, multiple of which can be selected. Press ok, all selected waves are passed to the proper function.
This is all quite doable, in the case of a drop-down menu which allows me to select one tracename/wavename. I have not yet programmed this simple, one-item case, but I am confident that will work with the great documentation and my experience so far.
My question is, can users program an interface which allows selection of multiple items, similar to the way this can be done in the 'New Graph'-dialog?
A sincere thanks!
If you really want to select trace names in a graph, you might want to use TraceNameList, and then populate a listbox with the trace names. You can make multiple selections in a listbox control.
John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
June 16, 2011 at 09:16 am - Permalink
June 16, 2011 at 01:04 pm - Permalink