Add Panel to TabNavigator : TabNavigator « Container « Flex






Add Panel to TabNavigator

Add Panel to TabNavigator
      

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
    layout="vertical">
    <mx:TabNavigator id="myPages">
        <mx:Panel width="250" height="200" layout="absolute"
            title="Welcome" id="welcome" label="Welcome">
            <mx:Text x="10" y="28" text="test." width="200" />
        </mx:Panel>
        <mx:Panel width="250" height="200" layout="absolute"
            id="contact" title="Contact" label="Contact Us">
            <mx:Text x="10" y="25" text="test." width="200" />
        </mx:Panel>
        <mx:Panel width="250" height="200" layout="absolute"
            id="aboutUs" title="About Us" label="About Us">
            <mx:Text x="10" y="10" text="test" width="200" />
        </mx:Panel>
    </mx:TabNavigator>
</mx:Application>

   
    
    
    
    
    
  








Related examples in the same category

1.TabNavigator EffectTabNavigator Effect
2.Put VBox into TabNavigatorPut VBox into TabNavigator
3.Contain a Spark List control and an TabNavigator containerContain a Spark List control and an TabNavigator container
4.NavigatorContent inside a TabNavigatorNavigatorContent inside a TabNavigator
5.Put Form into TabNavigatorPut Form into TabNavigator
6.Load the modules when navigating to tabs in TabNavigatorLoad the modules when navigating to tabs in TabNavigator
7.TabNavigator creation PolicyTabNavigator creation Policy
8.Load modules when the user navigates to the appropriate tabs in TabNavigatorLoad modules when the user navigates to the appropriate tabs in TabNavigator
9.Add child component to TabNavigatorAdd child component to TabNavigator
10.Enable child of TabNavigator
11.Disable TabControls Within a TabNavigator
12.Get child count in TabNavigator
13.TabNavigator containerTabNavigator container
14.Change URL as TabNavigator changedChange URL as TabNavigator changed
15.Use Button to select TabUse Button to select Tab
16.Using a tab navigator to created tabbed navigationUsing a tab navigator to created tabbed navigation
17.Responding to tab changes in a tab navigatorResponding to tab changes in a tab navigator
18.Using an event object to pass information about selected tabUsing an event object to pass information about selected tab