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 shreyasd...@gmail.com wrote:


 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:04 am, TwiZ tw...@o2.pl wrote:
  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 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
-~--~~~~--~~--~--~---



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:04 am, TwiZ tw...@o2.pl wrote:
 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 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
-~--~~~~--~~--~--~---



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, 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
-~--~~~~--~~--~--~---



Re: Double click on textField.

2009-09-11 Thread Thomas Broyer


On 11 sep, 11:36, TwiZ tw...@o2.pl 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!);

                         }
                 });

 but this doesnt work, could someone help me?

ondblclick ?
--~--~-~--~~~---~--~~
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
-~--~~~~--~~--~--~---



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 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
-~--~~~~--~~--~--~---