Setting the dgText locks Revolution

Bob Sneidar bobs at twft.com
Wed Jan 20 16:25:04 EST 2010


Bingo! That did the trick. So would I be correct in saying that the principle here is, whenever doing anything to modify the data in a datagrid, use send in time?

Bob


On Jan 20, 2010, at 12:16 PM, Trevor DeVore wrote:

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




More information about the use-livecode mailing list