Drag & drop for re-ordering listboxes
| nplumb | January 30, 2010 - 13:07 | ||
|---|---|---|---|
|
Any plans for "drag-n-drop" functionality for Igor listboxes (similar to "Reorder Traces..." dialog)? Merely being able to drag a single row would be a huge leap. But being able to drag a column horizontally would be pretty sweet, too. And it would be especially awesome if DimLabels would move with the drags! In mode=3, I could imagine allowing multiple rows to be dragged simultaneously, but maybe this is a pipe dream. Currently a solution can be concocted using mouse down/up events and a global to pass the starting row of the drag (though I confess not having actually done this). Built-in functionality would probably be simpler and certainly look more polished on the graphical end. Nick |
|||

Joined: 2009-02-12
Location: Switzerland
I got off my lazy butt and made an easy snippet here.
However, when you use it, the look & feel is highly "non-native," and it won't do any of the fancier things I just mentioned above.