problem with drag-dropping a text string

J. Landman Gay jacque at
Tue Apr 8 19:54:34 EDT 2008

Peter Brigham wrote:

> The original selected text is dropped without modification into the 
> target field. The dragDrop handler is getting triggered, since setting a 
> breakpoint and doing the drag-drop opens up the script in the debugger, 
> and the data is manipulated correctly as I step through the script, so 
> at the end mLine contains the proper string -- but the original string 
> is what appears in the target field

The dragdrop message is sent after the user drops the text, so it's too 
late by then. Instead, try the text parsing in dragEnter.

Jacqueline Landman Gay         |     jacque at
HyperActive Software           |

More information about the Use-livecode mailing list