defines the text for each tab in the TabBar control. : TabBar « Container « Flex






defines the text for each tab in the TabBar control.

<mx:String> defines the text for each tab in the TabBar control.
         

<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
    <mx:TabBar>
        <mx:dataProvider>
            <mx:Object label="A" data="AA" />
            <mx:Object label="B" data="BB" />
            <mx:Object label="C" data="CC" />
        </mx:dataProvider>
    </mx:TabBar>
</mx:Application>

   
    
    
    
    
    
    
    
    
  








Related examples in the same category

1.ArrayCollection as dataProvider for TabBarArrayCollection as dataProvider for TabBar
2.Use labelField property of TabBar control to specify the property name containing the tab textUse labelField property of TabBar control to specify the property name containing the tab text
3.itemClick event for TabBaritemClick event for TabBar
4.Spark TabBarSpark TabBar
5.TabBar ObjectTabBar Object
6.TabBar LabelTabBar Label
7.Populate a TabBar control from a variablePopulate a TabBar control from a variable
8.A handler for the itemClick event for this TabBar controlA handler for the itemClick event for this TabBar control