Re: distinguish between click and double click

2011-04-14 Thread Trevor Skaife
The best way for you to handle both the click and double click differently would be to handle the double click yourself. So when you get a click, start a timer for X ms (the longest time between clicks for a double click). If the user clicks again, it's a double click, if the timer runs out, single

distinguish between click and double click

2011-04-14 Thread lamre
Hi, i overrided onBrowserEvent of AbstractCell to handle click and double click event, the problem is now that when doubleclicking i cature two click events and a double click event. I need to handle both of them in a cell but can't distinguish. Thanks. Cell cell = new AbstractCell("dblclick","cl