Re: How to initiate a event inside a KeyPressHandler

2009-09-29 Thread ojay
Hi thanks for your response but i don't get it :-( Can you make an example with pseudo code? Thanks On 27 Sep., 02:09, Dominik Steiner dominik.j.stei...@googlemail.com wrote: Hi ojay, did you try to make your KeyListener an anonymous class so that you can reference from within it the

Re: How to initiate a event inside a KeyPressHandler

2009-09-29 Thread Dominik Steiner
you could do something like this public void onModuleLoad() { // Create a tab panel with three tabs, each of which displays a different // piece of text. VerticalPanel formSelectPanel = new VerticalPanel();

How to initiate a event inside a KeyPressHandler

2009-09-26 Thread ojay
Hi, after I read the intro to gwt in practice and looking around on the gwt site I just started my first steps with gwt and now I'm stuck. I guess its an easy question for you guys... I have a textbox and a listbox in my project. Now I added a KeyPressHandler to the textbox so that I can do

Re: How to initiate a event inside a KeyPressHandler

2009-09-26 Thread Dominik Steiner
Hi ojay, did you try to make your KeyListener an anonymous class so that you can reference from within it the formList and then change the selection of the ListBox by using the method formList.setSelectedIndex(int index); HTH Dominik On 25 Sep., 17:07, ojay oliver.ja...@googlemail.com wrote: