
Reorder list of datafolders

sjr51
I have a procedure which does lots of different things (plots, layouts etc) with waves in 4-6 main data folders. The code just gets a list of data folders and works through them in that order. I'd like the user to be able to change/specify the order.
My idea is to display a list of data folders and then be able to reorder them using drag-and-drop.
I found this snippet which looks good, but it's quite old and I'm wondering if there is a WM function I can tap into to do this.
http://www.igorexchange.com/node/1338
Something like the Reorder Waves dialog would be ideal.
Thank you for any help or ideas.
John Weeks
WaveMetrics, Inc.
support@wavemetrics.com
February 3, 2017 at 02:32 pm - Permalink
If anyone is interested, I used the modified version here
http://www.igorexchange.com/node/6800
And modified the first function to first make a textwave of the data folders (within root:data: in my case):
February 4, 2017 at 12:59 pm - Permalink