Hello: I'm working on a ListBox subclass, called DoubleClickAwareListBox. On double-click events, the click event fires twice, no matter if I'm using a ClickListener or overriding onBrowserEvent(Event event) like below:
public void onBrowserEvent(Event event) { super.onBrowserEvent(event); int type = DOM.eventGetType(event); if (type == event.ONDBLCLICK) { GWT.log("SSSSSDDDDDD", null); } else if (type == event.ONCLICK) { GWT.log("XXXXXXXX", null); } } I want double-click and click to be two distinct events. Is it possible to prevent this behavior? Thanks Eric --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Google Web Toolkit" group. To post to this group, send email to Google-Web-Toolkit@googlegroups.com To unsubscribe from this group, send email to google-web-toolkit+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/Google-Web-Toolkit?hl=en -~----------~----~----~----~------~----~------~--~---