Click is not part of double click


#1

Hey,
When I get mouseUp or mouseDown calls on my Component, is there any way to determine that these are most likely not a part of a double click?
I suppose I can do that with timers etc…, but is there a built-in way?

Thanks!


#2

Until operating systems provide an API for predicting the future, the only way is to use a timer. Obviously that’ll delay your response time for a single-click, which is why the mouse methods don’t attempt to do the job for you.


#3

If you’re really interested in this, you can look in to the endochronic properties of resublimated thiotimoline.


#4

Is there a library out for that yet?


#5

It’s a research paper, you’ll have to look it up.


#6

I know what it is, was only kidding. :slight_smile:


#7

Is there a library out for that yet?[/quote]
Yes it is. Released 15 years from now.


#8

What do we want … time travel!
When do we want it … irrelevant!


#9

Steven Hawking recently made an experiment.
He invited all time-travellers over to his house for coffee and cake.

Unfortunately, nobody came :wink:


#10

If we’re going to get serious about this “issue” then we should solve the entire class of related problems:

Click is not part of double click,
Click is not part of triple click,
Click is not part of quadruple click,

generalized to:

Click is not part of “N click” combination

where N can be suitably large (but finite).