Forums > MaxMSP

drag and drop reordering of a list


Mar 18 2012 | 1:32 am

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?

Mar 18 2012 | 6:44 am

-- Pasted Max Patch, click to expand. --

Mar 19 2012 | 12:24 am

 
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

Mar 19 2012 | 12:31 am

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.

Mar 19 2012 | 12:39 am

dono, cellblock handles most of that internally

Mar 19 2012 | 1:02 am

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

Viewing 6 posts - 1 through 6 (of 6 total)

Forums > MaxMSP