[Q] drag and drop with data grids

Trevor DeVore lists at mangomultimedia.com
Tue Jul 28 08:41:27 EDT 2009


On Jul 24, 2009, at 8:40 AM, Shao Sean wrote:

> anyone have any tips to getting a data grid to accept drops?
>
> i have the drag portion working, but am unable to get the other data  
> grid to accept the drop.. in the message watcher the "dragDrop"  
> message is not firing but the "dragEnd" message is.. i noticed in  
> the data grid library stack there is something related to drag and  
> drop but do not think it is linked into the actual code (dgDragDrop  
> and dgDataEnd are not firing)..


The data grid behavior script doesn't intercept any drag/drop  
messages. If you are setting the dragAction in the data grid group  
script then dragDrop should fire.

Are you sure you are setting the dragAction in the right place so that  
the data grid will accept the drop?

Regards,

-- 
Trevor DeVore
Blue Mango Learning Systems
www.bluemangolearning.com    -    www.screensteps.com



More information about the use-livecode mailing list