<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Displaying item tool tips in a Flex ComboBox control</title>
	<link>http://blog.flexexamples.com/2008/01/26/displaying-item-tool-tips-in-a-flex-combobox-control/</link>
	<description>A bunch of examples for Adobe Flex and ActionScript</description>
	<pubDate>Fri, 21 Nov 2008 07:19:32 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>

	<item>
		<title>By: rosen jiang</title>
		<link>http://blog.flexexamples.com/2008/01/26/displaying-item-tool-tips-in-a-flex-combobox-control/#comment-16654</link>
		<author>rosen jiang</author>
		<pubDate>Mon, 10 Nov 2008 10:54:54 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2008/01/26/displaying-item-tool-tips-in-a-flex-combobox-control/#comment-16654</guid>
		<description>Well, if some one want create ComboBox by Constructor. Please use:

var combo:ComboBox = new ComboBox();
combo.x	= 3;
combo.y = 40;
combo.width = 138;
combo.itemRenderer = new ClassFactory(mx.controls.Label);
........


best,
rosen</description>
		<content:encoded><![CDATA[<p>Well, if some one want create ComboBox by Constructor. Please use:</p>
<p>var combo:ComboBox = new ComboBox();<br />
combo.x	= 3;<br />
combo.y = 40;<br />
combo.width = 138;<br />
combo.itemRenderer = new ClassFactory(mx.controls.Label);<br />
&#8230;&#8230;..</p>
<p>best,<br />
rosen</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chandra Kumar</title>
		<link>http://blog.flexexamples.com/2008/01/26/displaying-item-tool-tips-in-a-flex-combobox-control/#comment-14004</link>
		<author>Chandra Kumar</author>
		<pubDate>Mon, 07 Jul 2008 12:26:13 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2008/01/26/displaying-item-tool-tips-in-a-flex-combobox-control/#comment-14004</guid>
		<description>Peter,
     I wonder how mx.controls.TextInput control would be used as an item renderer for mx.controls.ComboBox control.

Chandra Kumar</description>
		<content:encoded><![CDATA[<p>Peter,<br />
     I wonder how mx.controls.TextInput control would be used as an item renderer for mx.controls.ComboBox control.</p>
<p>Chandra Kumar</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chandra Kumar</title>
		<link>http://blog.flexexamples.com/2008/01/26/displaying-item-tool-tips-in-a-flex-combobox-control/#comment-13941</link>
		<author>Chandra Kumar</author>
		<pubDate>Sat, 05 Jul 2008 09:29:48 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2008/01/26/displaying-item-tool-tips-in-a-flex-combobox-control/#comment-13941</guid>
		<description>Peter,
     Thank you. I followed the solution given by you. It works fine.

Chandra Kumar</description>
		<content:encoded><![CDATA[<p>Peter,<br />
     Thank you. I followed the solution given by you. It works fine.</p>
<p>Chandra Kumar</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2008/01/26/displaying-item-tool-tips-in-a-flex-combobox-control/#comment-13929</link>
		<author>peterd</author>
		<pubDate>Fri, 04 Jul 2008 21:18:35 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2008/01/26/displaying-item-tool-tips-in-a-flex-combobox-control/#comment-13929</guid>
		<description>Chandra Kumar,

Try something like the following instead:
&lt;pre class="code"&gt;
&#60;?xml version="1.0" encoding="utf-8"?&#62;
&#60;mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
        layout="vertical"
        verticalAlign="top"
        backgroundColor="white"&#62;

    &#60;mx:Array id="arr"&#62;
        &#60;mx:Object label="Lorem ipsum dolor sit amet, consectetuer adipiscing elit." /&#62;
        &#60;mx:Object label="Donec sit amet dui nec pede aliquam auctor." /&#62;
        &#60;mx:Object label="Integer vestibulum sodales dui." /&#62;
        &#60;mx:Object label="Sed nonummy ligula et tortor." /&#62;
        &#60;mx:Object label="Aenean varius neque vel felis." /&#62;
        &#60;mx:Object label="Phasellus venenatis ipsum sit amet nisi." /&#62;
        &#60;mx:Object label="Nullam vitae turpis et ipsum cursus venenatis." /&#62;
        &#60;mx:Object label="Pellentesque tincidunt pede non arcu." /&#62;
        &#60;mx:Object label="Aliquam ut massa quis ante dignissim egestas." /&#62;
        &#60;mx:Object label="Curabitur facilisis velit sit amet metus." /&#62;
        &#60;mx:Object label="Vivamus ornare massa ac massa." /&#62;
        &#60;mx:Object label="Nam accumsan rutrum purus." /&#62;
    &#60;/mx:Array&#62;

    &#60;mx:ComboBox id="cb"
            dataProvider="{arr}"
            width="250"
            open="cb.dropdown.variableRowHeight = true;"&#62;
        &#60;mx:itemRenderer&#62;
            &#60;mx:Component&#62;
                &#60;mx:Text selectable="false" toolTip="{data.label}" /&#62;
            &#60;/mx:Component&#62;
        &#60;/mx:itemRenderer&#62;
    &#60;/mx:ComboBox&#62;

&#60;/mx:Application&#62;
&lt;/pre&gt;

Peter</description>
		<content:encoded><![CDATA[<p>Chandra Kumar,</p>
<p>Try something like the following instead:</p>
<pre class="code">
&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
        layout="vertical"
        verticalAlign="top"
        backgroundColor="white"&gt;

    &lt;mx:Array id="arr"&gt;
        &lt;mx:Object label="Lorem ipsum dolor sit amet, consectetuer adipiscing elit." /&gt;
        &lt;mx:Object label="Donec sit amet dui nec pede aliquam auctor." /&gt;
        &lt;mx:Object label="Integer vestibulum sodales dui." /&gt;
        &lt;mx:Object label="Sed nonummy ligula et tortor." /&gt;
        &lt;mx:Object label="Aenean varius neque vel felis." /&gt;
        &lt;mx:Object label="Phasellus venenatis ipsum sit amet nisi." /&gt;
        &lt;mx:Object label="Nullam vitae turpis et ipsum cursus venenatis." /&gt;
        &lt;mx:Object label="Pellentesque tincidunt pede non arcu." /&gt;
        &lt;mx:Object label="Aliquam ut massa quis ante dignissim egestas." /&gt;
        &lt;mx:Object label="Curabitur facilisis velit sit amet metus." /&gt;
        &lt;mx:Object label="Vivamus ornare massa ac massa." /&gt;
        &lt;mx:Object label="Nam accumsan rutrum purus." /&gt;
    &lt;/mx:Array&gt;

    &lt;mx:ComboBox id="cb"
            dataProvider="{arr}"
            width="250"
            open="cb.dropdown.variableRowHeight = true;"&gt;
        &lt;mx:itemRenderer&gt;
            &lt;mx:Component&gt;
                &lt;mx:Text selectable="false" toolTip="{data.label}" /&gt;
            &lt;/mx:Component&gt;
        &lt;/mx:itemRenderer&gt;
    &lt;/mx:ComboBox&gt;

&lt;/mx:Application&gt;
</pre>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chandra Kumar</title>
		<link>http://blog.flexexamples.com/2008/01/26/displaying-item-tool-tips-in-a-flex-combobox-control/#comment-13926</link>
		<author>Chandra Kumar</author>
		<pubDate>Fri, 04 Jul 2008 14:55:36 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2008/01/26/displaying-item-tool-tips-in-a-flex-combobox-control/#comment-13926</guid>
		<description>I tried the first example on this page using "mx.controls.Text" for the "itemRenderer" property of ComboBox. I neither got a tooltip nor found the contents to be wrapped around. I am learning Flex. Your comments would be helpful to me.</description>
		<content:encoded><![CDATA[<p>I tried the first example on this page using &#8220;mx.controls.Text&#8221; for the &#8220;itemRenderer&#8221; property of ComboBox. I neither got a tooltip nor found the contents to be wrapped around. I am learning Flex. Your comments would be helpful to me.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
