Get selected item from ComboBox : ComboBox Selection « Components « Flex

Home
Flex
1.Chart
2.Components
3.Container
4.Data Model
5.Development
6.Effects
7.Event
8.Graphics
9.Grid
10.Style
Flex » Components » ComboBox SelectionScreenshots 
Get selected item from ComboBox
Get selected item from ComboBox
       
<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">

<mx:HBox>
    <mx:ComboBox id="level">
        <mx:Array>
            <mx:Object label="A" data="1" />
            <mx:Object label="B" data="2" />
            <mx:Object label="C" data="3" />
            <mx:Object label="D" data="4" />
        </mx:Array>
    </mx:ComboBox>

    <mx:TextInput id="selectedLevel" text="level.value" />
</mx:HBox>

</mx:Application>

   
    
    
    
    
    
    
  
Related examples in the same category
1.Get selected value, state, capital and indexGet selected value, state, capital and index
2.Count item count for ComboBox selected itemCount item count for ComboBox selected item
3.ComboBox Selected IndexComboBox Selected Index
4.Count the number of items in a collection between the selected item in a ComboBox control and the end of the collection, and then returns the cursor to the initial locationCount the number of items in a collection between the selected item in a ComboBox control and the end of the collection, and then returns the cursor to the initial location
5.Select a new locale from the ComboBox control.
6.Load a resource module when the user selects the locale from the ComboBox control.
ww___w__.ja__va___2s___.___c_o___m___ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.