<?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>combobox &#8211; stoimen&#039;s web log</title>
	<atom:link href="/tag/combobox/feed/" rel="self" type="application/rss+xml" />
	<link></link>
	<description>on web development</description>
	<lastBuildDate>Tue, 13 Feb 2018 08:18:15 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.0.3</generator>
	<item>
		<title>Flex 3 ComboBox disabled options</title>
		<link>/2009/03/05/flex-3-combobox-disabled-options/</link>
		<comments>/2009/03/05/flex-3-combobox-disabled-options/#comments</comments>
		<pubDate>Thu, 05 Mar 2009 15:05:18 +0000</pubDate>
		<dc:creator><![CDATA[stoimen]]></dc:creator>
				<category><![CDATA[featured]]></category>
		<category><![CDATA[flex 3]]></category>
		<category><![CDATA[web development]]></category>
		<category><![CDATA[actionscript 3]]></category>
		<category><![CDATA[combobox]]></category>
		<category><![CDATA[disabled]]></category>
		<category><![CDATA[tutorial]]></category>

		<guid isPermaLink="false">/?p=299</guid>
		<description><![CDATA[How to make custom combo box.<div class='yarpp-related-rss'>

Related posts:<ol>
<li><a href="/2009/03/01/flex-3-custom-datechooser-2/" rel="bookmark" title="Flex 3 Custom DateChooser">Flex 3 Custom DateChooser </a></li>
<li><a href="/2009/03/18/flex-3-text-editor/" rel="bookmark" title="Flex 3 text editor">Flex 3 text editor </a></li>
<li><a href="/2009/03/31/flex-3-custom-timeline-component/" rel="bookmark" title="Flex 3 Custom Timeline Component">Flex 3 Custom Timeline Component </a></li>
<li><a href="/2009/05/20/flex-3-datechooser-utc-issue/" rel="bookmark" title="Flex 3 DateChooser UTC issue">Flex 3 DateChooser UTC issue </a></li>
</ol>
</div>
]]></description>
				<content:encoded><![CDATA[<p>Recently I had to make a drop down menu in a Flex Application, or either ComboBox in the Flex terminology, where some of the items in it should be disabled. Many <a target="_blank" mce_href="http://blog.flexexamples.com/2008/07/15/setting-a-selection-disabled-color-on-a-combobox-controls-dropdown-menu-in-flex/" href="http://blog.flexexamples.com/2008/07/15/setting-a-selection-disabled-color-on-a-combobox-controls-dropdown-menu-in-flex/">tutorials</a> explained how to make the entire ComboBox disabled, but that was out of scope here.The idea is to have a large range, let&#8217;s say the numbers from 1 to 30, and make 1 to 10 disabled, and the others &#8211; selectable. After reading the documentation of Adobe it appears that this is not possible with just using some attribute of the default component.</p>
<p>Of course in the case of only three you can make it with radio buttons or checkboxes. <a target="_blank" mce_href="http://stackoverflow.com/questions/257319/how-can-i-disable-an-individual-item-in-a-combo-box-in-flex-so-that-it-is-not-c" href="http://stackoverflow.com/questions/257319/how-can-i-disable-an-individual-item-in-a-combo-box-in-flex-so-that-it-is-not-c">Here</a> after the question how to write such a component, the answer is:</p>
<blockquote>
<p><font color="#808080"><i>Have you considered using radio buttons rather than a combo box?</i></font></p>
</blockquote>
<p>Well, no, I&#8217;m not! I&#8217;d like to make it for such a big range. In my case it was more than 200 options, the case with radio buttons is not enough. </p>
<p>Finally I found a sample of a disabled list items on <a target="_blank" mce_href="http://joshblog.net/2007/09/16/open-source-flex-components-advancedlist-and-checkboxlist/" href="http://joshblog.net/2007/09/16/open-source-flex-components-advancedlist-and-checkboxlist/">http://joshblog.net/</a> but yet again it was dealing with list, not a combo box. In my case the combo box has very important built in events and fires different kind of them in any special situation. That&#8217;s why I don&#8217;t think this sample could do the work. </p>
<p>Actually as it seems easy and usefull, almost nowhere there was such a component. In Adobe&#8217;s blogs I found interesting post <a target="_blank" mce_href="http://blogs.adobe.com/aharui/2007/06/disabling_list_selection.html" href="http://blogs.adobe.com/aharui/2007/06/disabling_list_selection.html">http://blogs.adobe.com/aharui/2007/06/disabling_list_selection.html</a> where the author describes how to make a list with that properties, and somewhere in the comments I found the component at last:</p>
<div class="comment-content">
<blockquote>
<p><i><font color="#808080">Hi Alex,<br />
I&#8217;m seeking the disabling combobox. Your posting give me some ideals.<br />
And now, I have implmented the disabling ComboBox and List using my<br />
method.<br />
Your blog is very helpful for me.Thanks.</font></i></p>
<p><i><font color="#808080">I have put my disabling ComboBox to my blog</font></i></p>
</blockquote>
<p>Here it is <a target="_blank" mce_href="http://wmcai.blog.163.com/blog/static/4802420088945053961/" href="http://wmcai.blog.163.com/blog/static/4802420088945053961/">http://wmcai.blog.163.com/blog/static/4802420088945053961/</a></p>
<p>Thanks to the author there is a demo and download. Soon I&#8217;ll share my experience with the disabled combo box items. </p>
</p></div>
<div class='yarpp-related-rss'>
<p>Related posts:<ol>
<li><a href="/2009/03/01/flex-3-custom-datechooser-2/" rel="bookmark" title="Flex 3 Custom DateChooser">Flex 3 Custom DateChooser </a></li>
<li><a href="/2009/03/18/flex-3-text-editor/" rel="bookmark" title="Flex 3 text editor">Flex 3 text editor </a></li>
<li><a href="/2009/03/31/flex-3-custom-timeline-component/" rel="bookmark" title="Flex 3 Custom Timeline Component">Flex 3 Custom Timeline Component </a></li>
<li><a href="/2009/05/20/flex-3-datechooser-utc-issue/" rel="bookmark" title="Flex 3 DateChooser UTC issue">Flex 3 DateChooser UTC issue </a></li>
</ol></p>
</div>
]]></content:encoded>
			<wfw:commentRss>/2009/03/05/flex-3-combobox-disabled-options/feed/</wfw:commentRss>
		<slash:comments>9</slash:comments>
		</item>
	</channel>
</rss>
