Page 1 of 1

How to drag and drop items in a list

Posted: Sun Oct 23, 2011 4:33 pm
by Happyrever
I have a basic table field where its prime function is "Click on a line to process the line in some way"
However, I also wish to drag a line in the list to a new position in the list, without triggering the prime process.
The purpose is to re-order the lines in the list.

Does anyone know how this can be coded?

Re: How to drag and drop items in a list

Posted: Sun Oct 23, 2011 4:42 pm
by Klaus
Hi

Scott Rossi provided a great example on how to do this!
Go here: http://www.tactilemedia.com/
Click: Software -> in the upper right corner: See all tutorials...
Then looks for for "Get in line" down the page.


Best

Klaus

Re: How to drag and drop items in a list

Posted: Mon Oct 24, 2011 8:36 am
by Happyrever
I had visited this brilliant site before and should have remembered this item. Thanks for the tip; it is just what I needed.
I reckon all newbies should visit this site, just to glimpse the possibilities Livecode can offer.

Re: How to drag and drop items in a list

Posted: Wed Oct 26, 2011 2:23 am
by marksmithhfx
Very elegant solution... I wish I'd known about it before I wrote my own :)