DataGrid DragDrop vs DragMove

zryip theSlug zryip.theslug at gmail.com
Thu Jan 28 18:54:19 EST 2010


2010/1/28 Trevor DeVore <lists at mangomultimedia.com>:

> You need to specify that the field can accept the drop. Try adding the
> following code to the field script after commenting out the
> dgTrackDragReorder code:
>
> on dragEnter
>    if  line 1 of the dragData["private"] is "MyData" then
>        set the dragAction to "copy"
>    end if
> end dragEnter
>
> on dragDrop
>    put line 2 of the dragData["private"] into me
> end dragDrop
>
> Does that work?
>

Really simple!
It seems that I've drunk more coffee as needed. Apologies for my
clumsy attempt to help.

I have to study the datagrid more seriously ;)

-- 
-Zryip TheSlug- wish you the best! 8)
http://www.aslugontheroad.co.cc



More information about the use-livecode mailing list