How can I set or change tab orders

Amalkotey

Active Member
Licensed User
Longtime User
Hello,

I have an activity where the user can enter their data for the ordering process. The input begins with the name, go with "Next" on the next edit field (eMail), then it goes with " Next" on the edit field road. After the road you go with "Next" on the town. The ZIP code is skipped, since the virtual keyboard on the "Next" button will change to " Finish".

How can I change the tab order receives the front of the town, zip code and then the focus of the first place. Thank you for your help in advance.

best regards
Amalkotey
 

Attachments

  • Order.jpg
    Order.jpg
    14.3 KB · Views: 232

nfordbscndrd

Well-Known Member
Licensed User
Longtime User
From this post:

"Android handles the sequence according to the position of views. You can set EditText.ForceDone = True in all your EditTexts. Then catch the EditText_EnterPressed event and explicitly set the focus to the next view with EditText.RequestFocus."
 
Upvote 0
Top