Re: Double click on textField.

2009-09-14 Thread Yogesh Bhave
Hi Twiz, You can create your own class by extending TextBox class. And can add double click event by using sinkEvents() method. And In same class you can write code you want to write to execute on double click of text box in onBrowseEvent(). On Sat, Sep 12, 2009 at 10:24 PM, dubes01 wro

Re: Double click on textField.

2009-09-12 Thread dubes01
Just curious,but where exactly do you see your system.out.println() output? If you are using a textfield from gwt-ext, then try something like textfield.addListener(new BaseItemListenerAdapter(){}) or something like that and override the click or double click method if one exists. On Sep 11, 7:0

Re: Double click on textField.

2009-09-11 Thread TwiZ
it doesnt work too.. onclick or ondblclick it doesnt metter.. --~--~-~--~~~---~--~~ 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 uns

Re: Double click on textField.

2009-09-11 Thread Thomas Broyer
On 11 sep, 11:36, TwiZ wrote: > Hello, i would like to add double click listener to the texfield. I > work out sth like this: > > txtfield.addListener("onclick", new Function(){ >                         public void execute() { >                                 System.out.println("work!"); > >  

Re: Double click on textField.

2009-09-11 Thread TwiZ
The textfield is gwt-ext widget.. --~--~-~--~~~---~--~~ 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, se