Setting the dgText locks Revolution

Trevor DeVore lists at mangomultimedia.com
Wed Jan 20 15:16:25 EST 2010


On Jan 20, 2010, at 3:12 PM, Bob Sneidar wrote:
> Following is code I have in the data grid object's script.  
> Essentially am attempting to drag a value in a column to another  
> place in the column to rearrange the values.
>
> When I execute a drag and drop within a column, Revolution goes  
> beachball on me. I originally thought it was the command to set the  
> dgText that was causing the beachball, but no! Using GLX2 and  
> stepping through the code, I discovered that the beachball happens  
> when DragDrop ends after returning from the dispatch call to  
> ProcessDrop! (see code comments)
>
> Anyone have a clue?

Try calling processDrop AFTER dragDrop finishes executing.

send "processDrop theDropSource, theDropTarget" to me in 0 seconds

-- 
Trevor DeVore
Blue Mango Learning Systems
ScreenSteps: http://www.screensteps.com
Releasable Revolution Resources for Developers: http://revolution.bluemangolearning.com



More information about the use-livecode mailing list