flex 4.1 ComboBox 使用示例

<!--    <s:ComboBox x="150" y="77" selectedIndex="0"> 
        <s:dataProvider>
            <mx:ArrayList>
                <fx:String>日</fx:String>
                <fx:String>月</fx:String>
                <fx:String>季</fx:String>
                <fx:String>年</fx:String>                
            </mx:ArrayList>
        </s:dataProvider>
    </s:ComboBox>-->
    <mx:ComboBox x="150" y="77" prompt="请选择报表类型..."> 
        <mx:dataProvider>
            <mx:ArrayList>
                <fx:String>日</fx:String>
                <fx:String>月</fx:String>
                <fx:String>季</fx:String>
                <fx:String>年</fx:String>                
            </mx:ArrayList>
        </mx:dataProvider>
    </mx:ComboBox>

 

 

    <s:ComboBox x="232" y="77" selectedIndex="0" labelField="Label" id="comboBoxRptType" change="combobox1_changeHandler(event)" width="64"> 
        <s:dataProvider>
            <mx:ArrayList>
                <fx:Object Label="日" Value="D"/>
                    <fx:Object Label="月" Value="M"/>
                        <fx:Object Label="季" Value="Q"/>
                            <fx:Object Label="年" Value="N"/>    
            </mx:ArrayList>
        </s:dataProvider>
    </s:ComboBox>

 

上一篇:基于Java jsp+servlet超市订单管理平台设计和实现【建议收藏】


下一篇:Bootstrap学习笔记--插件之Carousel插件轮播图片,模态插件,提示插件,滚动监听插件,Affix插件