How to set focus to a different tab

I have a parent tab and 2 child tabs. Each child tab has 10 input control.Upon changing a value in each input control. The validator are executed in both the  tabs. How to set focus in respective tabs when a validation fails.
randyrajAsked:
Who is Participating?
 
Gary BenadeConnect With a Mentor Commented:
It would help if you could post some code to show what you are trying to do in context.
Which components are you using?
0
 
petiexConnect With a Mentor Commented:
tabnavigator.selectedIndex = desired_index;
0
 
randyrajAuthor Commented:
thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.