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?
How to drag and drop items in a list
Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller
Re: How to drag and drop items in a list
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
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
-
- Posts: 55
- Joined: Sat Sep 10, 2011 12:22 pm
Re: How to drag and drop items in a list
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.
I reckon all newbies should visit this site, just to glimpse the possibilities Livecode can offer.
-
- VIP Livecode Opensource Backer
- Posts: 931
- Joined: Thu Nov 13, 2008 6:48 am
Re: How to drag and drop items in a list
Very elegant solution... I wish I'd known about it before I wrote my own 

macOS 12.6.5 (Monterey), Xcode 14.2, LC 10.0.0, iOS 15.6.1
Targets: Mac, iOS
Targets: Mac, iOS