Re: Focusing on TabNavigator tab

2013-11-13 Thread Oleg Konovalov
Works great, Alex. Thanks a lot! Oleg. On Tue, Nov 12, 2013 at 2:59 PM, Alex Harui wrote: > setFocus() is about what component will get keyboard input. I think you > are using "tab" to mean a TabNavigator child which is a container which > never gets focus. Only some control like a TextInput

Re: Focusing on TabNavigator tab

2013-11-12 Thread Alex Harui
setFocus() is about what component will get keyboard input. I think you are using "tab" to mean a TabNavigator child which is a container which never gets focus. Only some control like a TextInput or Button or ADG gets focus If you want an ADG in a new Tabnavigator child to get focus, you should

Re: Focusing on TabNavigator tab

2013-11-12 Thread OmPrakash Muppirala
On Tue, Nov 12, 2013 at 8:11 AM, Oleg Konovalov wrote: > I do > dataTabs.addChild(tab). > After that how can I do selectedIndex on that tab? > Try dataTabs.selectedIndex = 1; > On Nov 12, 2013 7:37 AM, "Oleg Konovalov" wrote: > > > > > I have tried to > > 1) Google on that subject - could no

Re: Focusing on TabNavigator tab

2013-11-12 Thread Oleg Konovalov
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 1

Re: Focusing on TabNavigator tab

2013-11-12 Thread Alex Harui
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 chil

Re: Focusing on TabNavigator tab

2013-11-12 Thread Oleg Konovalov
I do dataTabs.addChild(tab). After that how can I do selectedIndex on that tab? On Nov 12, 2013 7:37 AM, "Oleg Konovalov" 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 > > W

Re: Focusing on TabNavigator tab

2013-11-12 Thread Oleg Konovalov
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

Re: Focusing on TabNavigator tab

2013-11-11 Thread Chris Velevitch
What have you tried? Have you set selectedIndex (zero-based)? On Tue, Nov 12, 2013 at 3:50 PM, Oleg Konovalov 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 yo

Focusing on TabNavigator tab

2013-11-11 Thread Oleg Konovalov
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.