The dictionary talks about a couple of properties that affect double click, 
doubleclickinterval and doubleclickdelta.

If the two mouse click happen in less time than is specified in 
doubleclickinterval and the mouse isn't moved more than the number of pixels 
defined in doubleclickdelta, a mouseDoubleup is supposed to be generated.  Any 
other combinations should result in a mouseUp.

On my computer, doubleclickinterval is set to 500 (which I think means half a 
second) and doubleclickdelta is set to 4.  Seems like I'm doubleclicking within 
those limits but I might try messing with those settings to see what happens.  

But maybe not.  The dictionary says you shouldn't mess with the 
doubleclickinterval "since doing so may discombobulate the user"!!!  Really? 
Discombobulate?  Maybe "confuse" would work just as well!

I have submitted a bug report for this.  If you want to vote, it's number 9366. 
 There are a couple of duplicates, some quite old, so not sure what the chanxes 
are of it getting fixed.

Pete Haworth

On Feb 1, 2011, at 8:42 AM, dunb...@aol.com wrote:

> This might need a new thread title.
> 
> If you have this in a button script:
> 
> on mouseUp
>    put "single"
>    wait 15
>    put "" --just to see it work
> end mouseup
> 
> on mouseDoubleUp
>    put "double"
>    wait 15
>    put "" --just to see it work
> end mouseDoubleUp
> 
> you can get all sorts of behaviors if you click at various rates. Sometimes 
> you even get what you want, that is, a single response to a double click. 
> This takes practice and luck, though, and that seems contrary to clean, 
> robust programming methodology.
> 
> Jim, can you elaborate on your idea of passing mouseup? How and where would 
> you do that?
> 
> Craig
> 
> 
> 
> In a message dated 2/1/11 11:19:00 AM, j...@netrin.com writes:
> 
> 
>> You might also try comparing the effect on your mouseDoubleUp of passing 
>> the mouseup vs. not passing the mouseup.
>> 
>> 
> _______________________________________________
> use-livecode mailing list
> use-livecode@lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription 
> preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
> 


_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to