Hi Jagadesh,

  The problem would be because of the place of definition of your widgets.
Guess right now you are defining the Age TextBox after FirstName TextBox.
Instead of the Age textBox define the Middlename TextBox first, i mean just
move the piece of code above. This will solve the Tab problem.

HTH,
Abhiram


On Sat, Oct 31, 2009 at 12:35 PM, jagadesh <[email protected]>wrote:

>
> HI Every one ,
> i am trying for a keyboard listener .what my requirment is consider  i
> have the text box in this format
>
> firstName        Age
> middleName   Sex
> lastName
>
> no my requirment is when ever i click TAB in firstName text field , i
> should go to middleName textfield. but normally it would go to Age
> textfield.
>
> i have written the keuboardlistener .onKeyUp()  such that whenever tab
> key is released it check fr the field name , if it is firstName , then
> i will take that to the middleName using setFocus() , but it doesnot
> work .
>
> i modified the logic like i check for fieldName "age" when i click TAB
> in the firstName.it will take that to the Age field when we click on
> the firstName . so i check for field name "age" and now every thinig
> is working fine .
>
>
> Is there any alternate solutions ,
>
>
> Thank u
> jagadesh
> >
>

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