No mouseUp

Sarah Reichelt sarahr at genesearch.com.au
Mon Dec 13 21:27:16 EST 2004


> I have the following script in a List field and the mouseUp handler 
> doesn't work!  I noticed that it is the "set the dragData" line in the 
> mouseDown that disables the mouseUp.  Can someone please tell me 
> what's going on and how I can keep the mouseUp?
>
>
> on mouseDown
>   get the hilitedLines of me
>   set the dragData to line it of me
> end mouseDown
>
> on mouseUp
>   beep 2
> end mouseUp
>
Hi Roger,

I would guess that because you have started a drag operation, mouseUp 
is not going to happen. Try looking for a dragEnd message instead.

Sarah



More information about the use-livecode mailing list