<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>中文Flex例子 &#187; ComboBox</title>
	<atom:link href="http://blog.minidx.com/tag/combobox/feed" rel="self" type="application/rss+xml" />
	<link>http://blog.minidx.com</link>
	<description>中文Adobe Flex例子,Flex实例教程,RIA资源,全文检索技术,算法和数据结构</description>
	<lastBuildDate>Thu, 31 Mar 2011 03:22:33 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.5</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Flex中如何去掉ComboBox竖直方向分割符的例子</title>
		<link>http://blog.minidx.com/2009/07/29/2786.html</link>
		<comments>http://blog.minidx.com/2009/07/29/2786.html#comments</comments>
		<pubDate>Wed, 29 Jul 2009 12:09:39 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[ComboBox]]></category>
		<category><![CDATA[Skin]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=2786</guid>
		<description><![CDATA[接下来的例子演示了Flex中如何去掉ComboBox竖直方向分割符。 
让我们先来看一下Demo（可以点击这里察看源代码）：









下面是完整代码(或点击这里察看)：
下面是main.mxml：
&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;!-- http://blog.flexexamples.com/2009/03/23/removing-the-vertical-separator-from-the-combobox-control-in-flex/ --&#62;
&#60;Application&#160;name=&#34;ComboBox_skin_test&#34;
&#160; &#160; &#160; &#160; xmlns=&#34;http://www.adobe.com/2006/mxml&#34;
&#160; &#160; &#160; &#160; backgroundColor=&#34;white&#34;&#62;
&#160;
&#160; &#160; &#60;ComboBox&#160;id=&#34;comboBox&#34;
&#160; &#160; &#160; &#160; &#160; &#160; dataProvider=&#34;[The,Quick,Brown,Fox,Jumps,Over,The,Lazy,Dog]&#34;
&#160; &#160; &#160; &#160; &#160; &#160; skin=&#34;CustomComboBoxSkin&#34;&#160;/&#62;
&#160;
&#60;/Application&#62;
下面是CustomComboBoxSkin.as：
package {
&#160; &#160; import&#160;flash.display.GradientType;
&#160; &#160; import&#160;flash.display.Graphics;
&#160;
&#160; &#160; import&#160;mx.skins.halo.ComboBoxArrowSkin;
&#160; &#160; import&#160;mx.skins.halo.HaloColors;
&#160; &#160; import&#160;mx.styles.StyleManager;
&#160; &#160; import&#160;mx.utils.ColorUtil;
&#160;
&#160; &#160; public&#160;class CustomComboBoxSkin extends ComboBoxArrowSkin {
&#160; &#160; &#160; &#160; private&#160;static var cache:Object = {};
&#160;
&#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2009/07/29/2786.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex中如何通过disabledIconColor样式设置comboBox无效状态箭头图标颜色的例子</title>
		<link>http://blog.minidx.com/2009/06/30/2666.html</link>
		<comments>http://blog.minidx.com/2009/06/30/2666.html#comments</comments>
		<pubDate>Tue, 30 Jun 2009 00:22:53 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[ComboBox]]></category>
		<category><![CDATA[disabledIconColor]]></category>
		<category><![CDATA[enabled]]></category>
		<category><![CDATA[iconColor]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=2666</guid>
		<description><![CDATA[接下来的例子演示了Flex中如何通过disabledIconColor样式，设置comboBox无效状态图标颜色。
让我们先来看一下Demo（可以点击这里察看源代码）：









下面是完整代码(或点击这里察看)：
Download: main.mxml&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;mx:Application&#160;name=&#34;ComboBox_disabledIconColor_test&#34;
&#160; &#160; &#160; &#160; xmlns:mx=&#34;http://www.adobe.com/2006/mxml&#34;
&#160; &#160; &#160; &#160; layout=&#34;vertical&#34;
&#160; &#160; &#160; &#160; verticalAlign=&#34;top&#34;
&#160; &#160; &#160; &#160; backgroundColor=&#34;white&#34;&#62;
&#160;
&#160; &#160; &#60;mx:ApplicationControlBar&#160;dock=&#34;true&#34;&#62;
&#160; &#160; &#160; &#160; &#60;mx:Form&#160;styleName=&#34;plain&#34;&#62;
&#160; &#160; &#160; &#160; &#160; &#160; &#60;mx:FormItem&#160;label=&#34;disabledIconColor:&#34;&#62;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#60;mx:ColorPicker&#160;id=&#34;colorPicker&#34; /&#62;
&#160; &#160; &#160; &#160; &#160; &#160; &#60;/mx:FormItem&#62;
&#160; &#160; &#160; &#160; &#160; &#160; &#60;mx:FormItem&#160;label=&#34;enabled:&#34;&#62;
&#160; &#160; &#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2009/06/30/2666.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex中如何截去ComboBox下拉菜单内容较长项目用“…”表示的例子</title>
		<link>http://blog.minidx.com/2009/03/08/2253.html</link>
		<comments>http://blog.minidx.com/2009/03/08/2253.html#comments</comments>
		<pubDate>Sun, 08 Mar 2009 01:46:58 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[ComboBox]]></category>
		<category><![CDATA[itemRenderer]]></category>
		<category><![CDATA[truncateToFit]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=2253</guid>
		<description><![CDATA[接下来的例子演示了Flex中如何截去ComboBox下拉菜单内容较长项目用“…”表示。
让我们先来看一下Demo（可以右键View Source或点击这里察看源代码）：









下面是完整代码(或点击这里察看)：
Download: main.mxml&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;mx:Application&#160;xmlns:mx=&#34;http://www.adobe.com/2006/mxml&#34;
&#160; &#160; &#160; &#160; layout=&#34;vertical&#34;
&#160; &#160; &#160; &#160; verticalAlign=&#34;top&#34;
&#160; &#160; &#160; &#160; backgroundColor=&#34;white&#34;&#62;
&#160;
&#160; &#160; &#60;mx:Array&#160;id=&#34;arr&#34;&#62;
&#160; &#160; &#160; &#160; &#60;mx:Object&#160;label=&#34;Lorem ipsum dolor sit amet, consectetuer adipiscing elit.&#34; /&#62;
&#160; &#160; &#160; &#160; &#60;mx:Object&#160;label=&#34;Donec sit amet dui nec pede aliquam auctor.&#34; /&#62;
&#160; &#160; &#160; &#160; &#60;mx:Object&#160;label=&#34;Integer vestibulum sodales dui.&#34; /&#62;
&#160; &#160; &#160; &#160; &#60;mx:Object&#160;label=&#34;Sed [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2009/03/08/2253.html/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Flex中如何通过cornerRadius样式调整ComboBox边角圆滑程度的例子</title>
		<link>http://blog.minidx.com/2009/01/24/1999.html</link>
		<comments>http://blog.minidx.com/2009/01/24/1999.html#comments</comments>
		<pubDate>Sat, 24 Jan 2009 14:37:33 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[ComboBox]]></category>
		<category><![CDATA[cornerRadius]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=1999</guid>
		<description><![CDATA[接下来的例子演示了Flex中如何通过cornerRadius样式，调整ComboBox边角圆滑程度。
让我们先来看一下Demo（可以右键View Source或点击这里察看源代码）：









下面是完整代码(或点击这里察看)：
Download: main.mxml&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;mx:Application&#160;xmlns:mx=&#34;http://www.adobe.com/2006/mxml&#34;
&#160; &#160; &#160; &#160; layout=&#34;vertical&#34;
&#160; &#160; &#160; &#160; verticalAlign=&#34;top&#34;
&#160; &#160; &#160; &#160; backgroundColor=&#34;white&#34;&#62;
&#160;
&#160; &#160; &#60;mx:ApplicationControlBar&#160;dock=&#34;true&#34;&#62;
&#160; &#160; &#160; &#160; &#60;mx:Form&#160;styleName=&#34;plain&#34;&#62;
&#160; &#160; &#160; &#160; &#160; &#160; &#60;mx:FormItem&#160;label=&#34;cornerRadius:&#34;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; direction=&#34;horizontal&#34;&#62;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#60;mx:HSlider&#160;id=&#34;slider&#34;
&#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; &#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2009/01/24/1999.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Flex中如何通过backgroundAlpha样式创建半透明下拉菜单ComboBox的例子</title>
		<link>http://blog.minidx.com/2009/01/24/1991.html</link>
		<comments>http://blog.minidx.com/2009/01/24/1991.html#comments</comments>
		<pubDate>Sat, 24 Jan 2009 00:11:52 +0000</pubDate>
		<dc:creator>Minidxer</dc:creator>
				<category><![CDATA[ComboBox]]></category>
		<category><![CDATA[backgroundAlpha]]></category>
		<category><![CDATA[dropdownStyleName]]></category>

		<guid isPermaLink="false">http://blog.minidx.com/?p=1991</guid>
		<description><![CDATA[接下来的例子演示了Flex中如何通过backgroundAlpha样式，创建半透明下拉菜单ComboBox。
让我们先来看一下Demo（可以右键View Source或点击这里察看源代码）：









下面是完整代码(或点击这里察看)：
Download: main.mxml&#60;?xml version=&#34;1.0&#34; encoding=&#34;utf-8&#34;?&#62;
&#60;mx:Application&#160;xmlns:mx=&#34;http://www.adobe.com/2006/mxml&#34;
&#160; &#160; &#160; &#160; layout=&#34;vertical&#34;
&#160; &#160; &#160; &#160; verticalAlign=&#34;middle&#34;
&#160; &#160; &#160; &#160; backgroundColor=&#34;white&#34;&#62;
&#160;
&#160; &#160; &#60;mx:Style&#62;
&#160; &#160; &#160; &#160; .myCustomDropdownStyleName {
&#160; &#160; &#160; &#160; &#160; &#160; backgroundAlpha: 0.4;
&#160; &#160; &#160; &#160; &#160; &#160; backgroundColor: white;
&#160; &#160; &#160; &#160; }
&#160; &#160; &#60;/mx:Style&#62;
&#160;
&#160; &#160; &#60;mx:ApplicationControlBar&#160;dock=&#34;true&#34;&#62;
&#160; &#160; &#160; &#160; &#60;mx:ComboBox&#160;id=&#34;comboBox&#34;
&#160; &#160; &#160; &#160; &#160; &#160; [...]]]></description>
		<wfw:commentRss>http://blog.minidx.com/2009/01/24/1991.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)
Database Caching 2/35 queries in 1.435 seconds using disk
Object Caching 393/784 objects using disk

Served from: blog.minidx.com @ 2012-02-09 19:25:03 -->
