ComboBox form item : ComboBox Item « Components « Flex






ComboBox form item

ComboBox form item
       
<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
    <mx:Canvas width="100%" height="100%">
        <mx:Form id="myForm" backgroundColor="#DDDDDD" top="0" left="20" right="20">
            <mx:FormItem label="Product:" width="100%">
                <mx:ComboBox width="200" />
            </mx:FormItem>
            <mx:FormItem label="User" width="100%">
                <mx:ComboBox width="200" />
            </mx:FormItem>
            <mx:FormItem label="Date">
                <mx:DateField />
            </mx:FormItem>
            <mx:FormItem width="100%" direction="horizontal" label="Hours:">
                <mx:TextInput width="75" />
                <mx:Label text="Minutes" width="48" />
                <mx:TextInput width="75" />
            </mx:FormItem>
        </mx:Form>
        <mx:HBox id="okCancelBox" right="20" bottom="10">
            <mx:Button label="OK" />
            <mx:Button label="Cancel" />
        </mx:HBox>
    </mx:Canvas>
</mx:Application>

   
    
    
    
    
    
    
  








Related examples in the same category

1.ComboBox prepopulated with list itemsComboBox prepopulated with list items
2.Remove item at 0 position from a ComboBoxRemove item at 0 position from a ComboBox
3.Get Item index for a ComboBoxGet Item index for a ComboBox
4.Add Item to second position in a ComboBoxAdd Item to second position in a ComboBox
5.Add item to a ComboBoxAdd item to a ComboBox
6.Sort ComboBox itemsSort ComboBox items