drag and drop reordering of a list

Mar 18, 2012 at 1:32am

drag and drop reordering of a list

i have a list of numbers [1 5 8 4 9 56 ]
zl nth will do anything but i would love to reorder them with a graphic interface
anything out there?

#62451
Mar 18, 2012 at 6:44am
– Pasted Max Patch, click to expand. –
#225596
Mar 19, 2012 at 12:24am

 
i would create the whole drag and drop thing using the [lcd] object for mouse tracking.
 
it will be a bigger patch, but such things are always a great training, and its result will
reusable for the next application.

-110

#225597
Mar 19, 2012 at 12:31am

or acctually not a bigger patch when i think about it, drag and drop is pretty easy .. wait for mousedown, see at what position we are, wait until mouse is released, see at what position we are, trigger appropiate action.

#225598
Mar 19, 2012 at 12:39am

dono, cellblock handles most of that internally

#225599
Mar 19, 2012 at 1:02am

would be nice to have a bit of matrixctrl in jit.cellblock
like having more then one cell selected + list output in row/coll

#225600

You must be logged in to reply to this topic.