The only other thing it does that might BE of importance to a hard core programmer is that it binds the dataProvider to the TabBar and ViewStack for you(selectedIndex, selectedItem etc.).

I guess if you like writing code and it didn't offer you something, use them separately. As far as resources, other than the memory it takes to load the class, the layout would be the same OR better then what some one would do with a layout of the two separately say in a Container.

There is no container laying out the tabbar. The viewMetrics of the ViewStack are just adjusted to fit the TabBar. But, there are times you could uses them separately to. ;-)

Peace, Mike

On 8/17/06, Matt Chotin <[EMAIL PROTECTED]> wrote:

TabNavigator is a convenience around TabBar and a ViewStack, so it's really just whatever tickles your fancy.

 


From: [EMAIL PROTECTED] ups.com [mailto:[EMAIL PROTECTED] ups.com] On Behalf Of Mike Anderson
Sent: Wednesday, August 16, 2006 9:34 PM
To: [EMAIL PROTECTED]ups.com
Subject: [flexcoders] TabNavigator vs. TabBar

 

Hello All,

Are there any performance gains (or issues of better resource usage)
when comparing the TabNavigator Control versus the TabBar?

I am a veteran VB Programmer (in addition to writing Flash RIA's for
many years), and historically, the TabNavigator style control has always
been a resource hog (due to the way it works, and how it contains the
child containers).

I must say, using the TabNavigator inside Flex is a piece of cake -
especially when running in Design Mode. Still, I can't help thinking,
that I may be better off using a simple TabBar combined with a ViewStack
Container - especially since I am a hard-core code-writer, and really
don't need to spend my days using the Design Mode.

Could any of you throw any scenarios my way, as to when/where/why I
should use the TabNavigator over the TabBar? (I am a huge fan of
Tab-Based Controls for RIA's)

Thanks in advance for your advice,

Mike




--
What goes up, does come down. __._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company


YAHOO! GROUPS LINKS




__,_._,___

Reply via email to