use a property of the object selectedIndex
example <mx:TabNavigator x="0" y="0" width="100%" height="100%" id="view_form" > </mx:TabNavigator> view_form.selectedIndex to get a selected tab or change it neethu-2 wrote: > > I have a tabnavigator with 5 tabs . > Reading the data from the database my tab in the navigator and the its > contents(ie the text/Input feilds are generated). I'm implementing > validations for these text inputs. When i click on a button in the > last tab, the tab in which invalid feild are there should be > highlighted im unable to get the index of that tab. > Can any one help me pls. > > -- > You received this message because you are subscribed to the Google Groups > "Flex India Community" group. > To post to this group, send email to flex_in...@googlegroups.com. > To unsubscribe from this group, send email to > flex_india+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/flex_india?hl=en. > > > -- View this message in context: http://old.nabble.com/-flex_india%3A28724--getting-tab-index-of-tab-navigator-tp27686074p27686186.html Sent from the Flex India mailing list archive at Nabble.com. -- You received this message because you are subscribed to the Google Groups "Flex India Community" group. To post to this group, send email to flex_in...@googlegroups.com. To unsubscribe from this group, send email to flex_india+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/flex_india?hl=en.