Reliable script to handle selection/drag-and-drop in a list field?

Klaus major-k klaus at major-k.de
Thu Jul 18 12:39:31 EDT 2013


Hi Geoff,

Am 18.07.2013 um 18:23 schrieb Geoff Canyon <gcanyon at gmail.com>:

> I did some quick research, and this looks to be as much of a pain as I
> remember -- or am I missing something? All I want is to place a scrolling
> list field on a card, enable the multipleLines and nonContiguousHilites of
> it, and then enable the (non-existent) supportDragAndDrop property.

take a look at Scott Rossi's solution to this:
<http://www.tactilemedia.com/site_files/downloads/getinline.rev.zip>

Not sure if this works with multilines, but should get you started :-)

> On Wed, Jul 17, 2013 at 1:51 PM, Geoff Canyon <gcanyon at gmail.com> wrote:
> 
>> Does anyone have code to share that allows discontiguous selection and
>> drag and drop within a list field? i.e. if I have a list field with:
>> 
>> 1
>> 2
>> 3
>> 4
>> 5
>> 
>> I can click 3 to select it, shift-click 5 to select 3 to 5, command-click
>> 4 so that 3 and 5 are selected, and then click and drag 3 (with 5 along for
>> the ride) above 2 and end up with:
>> 
>> 1
>> 3
>> 5
>> 2
>> 4

Best

Klaus

--
Klaus Major
http://www.major-k.de
klaus at major-k.de





More information about the use-livecode mailing list