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

Scott Rossi scott at tactilemedia.com
Thu Jul 18 12:45:35 EDT 2013


You can load the stack directly in LC:
go URL "http://www.tactilemedia.com/site_files/downloads/getinline.rev"


But this manages single lines only -- you'd have make to make adjustments
to handle multiple lines, which will be challenging with a discontiguous
selection.

Regards,

Scott Rossi
Creative Director
Tactile Media, UX/UI Design




On 7/18/13 9:39 AM, "Klaus major-k" <klaus at major-k.de> wrote:

>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
>
>
>_______________________________________________
>use-livecode mailing list
>use-livecode at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-livecode
>






More information about the use-livecode mailing list