On 31 oct, 08:05, 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 ,
Have you tried setTabIndex()? (hint: it might unfortunately break tab
order before firstname and after sex)
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---