I am on one tab. Get data, it creates another tab. I want a new tab to get focus, so user can see new data. Tab is a Box with ADG. Gets created by dataTabs.addChild(tab)
I tried to do tab.setFocus () and many other things. Still not setting focus on that tab. Using Flex 4.5.1 On Nov 12, 2013 12:21 PM, "Alex Harui" <aha...@adobe.com> wrote: > I'm not sure I understand the problem. A "tab" is a button-like thing > along the top of a TabNavigator. It never truly gets focus. The > TabNavigator gets focus and arrow keys can be used to switch tabs. > > A TabNavigator's children are containers, and the containers never get > focus. Only their children do. > > It might be best to provide a 20-line MXML test case that shows what you > want to accomplish. > > -Alex > > On 11/12/13 8:11 AM, "Oleg Konovalov" <oleg...@gmail.com> wrote: > > >I do > >dataTabs.addChild(tab). > >After that how can I do selectedIndex on that tab? > >On Nov 12, 2013 7:37 AM, "Oleg Konovalov" <oleg...@gmail.com> wrote: > > > >> > >> I have tried to > >> 1) Google on that subject - could not find anything useful. > >> 2) FocusEnabled = true - did nothing > >> 3) play with FocusManager - did nothing > >> > >> Will see if SelectedIndex will work. > >> Could you please give a context about it? > >> > >> TIA, > >> Oleg. > >> > >> > >> > >> On Tue, Nov 12, 2013 at 12:18 AM, Chris Velevitch < > >> chris.velevi...@gmail.com> wrote: > >> > >>> What have you tried? > >>> > >>> Have you set selectedIndex (zero-based)? > >>> > >>> > >>> On Tue, Nov 12, 2013 at 3:50 PM, Oleg Konovalov <oleg...@gmail.com> > >>> wrote: > >>> > >>> > Hi, > >>> > > >>> > I am creating a few tabs in (Super)TabNavigator. > >>> > How can I put a focus on one of them? > >>> > Tried a few things, but it didn't work... > >>> > > >>> > Please help! > >>> > > >>> > -- > >>> > Thank you, > >>> > Oleg. > >>> > > >>> > >>> > >>> > >>> -- > >>> > >>> > >>> Chris > >>> -- > >>> Chris Velevitch > >>> Manager - Adobe Platform Users Group, Sydney > >>> m: 0415 469 095 > >>> www.apugs.org.au > >>> > >>> Adobe Platform Users Group, Sydney > >>> Topic: TBD > >>> Date: Monday, 25th November > >>> Details and RSVP on > >>> http://www.meetup.com/Sydney-Adobe-Platform-User-Group > >>> > >> > >> > >> > >> -- > >> Thank you, > >> Oleg. > >> > >