Flex Gumbo中DropDownList/ComboBox如何使用的例子
By Minidxer | July 23, 2009
接下来的例子演示了Flex Gumbo中如何利用DropDownList/ComboBox先是一列Options。
下面是完整代码(或点击这里察看):
Download: main.mxml
- <?xml version="1.0" encoding="utf-8"?>
- <s:Application name="DropDownList_test"
- xmlns:fx="http://ns.adobe.com/mxml/2009"
- xmlns:s="library://ns.adobe.com/flex/spark"
- xmlns:mx="library://ns.adobe.com/flex/halo">
- <s:layout>
- <s:BasicLayout />
- </s:layout>
- <s:DropDownList id="comboBox"
- horizontalCenter="0"
- top="20">
- <s:dataProvider>
- <s:ArrayList source="[The,quick,brown,fox,jumps,over,the,lazy,dog]" />
- </s:dataProvider>
- </s:DropDownList>
- </s:Application>
代码:Peter deHaan 翻译/整理/编译:中文Flex例子
Topics:
ComboBox, DropDownList, Gumbo |
No Comments » |
Tags: DropDownList, Gumbo