Click is not part of double click

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!

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.

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

Is there a library out for that yet?

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

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

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

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

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

Unfortunately, nobody came :wink:

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).