If forgot to say: the keyDownEvent you create should have the
KeyCodes.KEY_TAB key code

On Sat, Jul 16, 2011 at 2:42 PM, Gal Dolber <[email protected]> wrote:

> This is a hard one. If you are trying to do what I think you need to fire a
> "tab" event on the textbox, that will trigger the blur, and focus the next
> field.
>
> // The code should look something like this
> NativeEvent e = Document.get().createKeyDownEvent(....);
> textboxField.getElement().dispatchEvent(e);
>
>
> On Sat, Jul 16, 2011 at 12:48 PM, Luke <[email protected]> wrote:
>
>>     @UiHandler("textboxField")
>>     public void keyDownSearchHandler(KeyDownEvent event){
>>
>>        //how to fire textboxField blur event after user press key
>> down?
>>     }
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Google Web Toolkit" group.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to
>> [email protected].
>> For more options, visit this group at
>> http://groups.google.com/group/google-web-toolkit?hl=en.
>>
>>
>
>
> --
> Guit: Elegant, beautiful, modular and *production ready* gwt applications.
>
> http://code.google.com/p/guit/
>
>
>
>
>


-- 
Guit: Elegant, beautiful, modular and *production ready* gwt applications.

http://code.google.com/p/guit/

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to