mariusz.pala
20 Jan 2009, 8:29 AM
Hi, I'm trying to catch the double click event in a field, but it doesn't work.
That's my code:
ListField<SimpleValueModel> control = new ListField<SimpleValueModel>();
control.addListener(Event.ONDBLCLICK, new Listener<BaseEvent>() {
public void handleEvent(BaseEvent be) {
Info.display("test", "double clicked");
};
});The same with TextField.
Is there any way to do that?
Thanks,
Mariusz
That's my code:
ListField<SimpleValueModel> control = new ListField<SimpleValueModel>();
control.addListener(Event.ONDBLCLICK, new Listener<BaseEvent>() {
public void handleEvent(BaseEvent be) {
Info.display("test", "double clicked");
};
});The same with TextField.
Is there any way to do that?
Thanks,
Mariusz