<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	
	>
<channel>
	<title>
	Comments on: Editable combo-box	</title>
	<atom:link href="https://undocumentedmatlab.com/articles/editable-combo-box/feed" rel="self" type="application/rss+xml" />
	<link>https://undocumentedmatlab.com/articles/editable-combo-box?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=editable-combo-box</link>
	<description>Professional Matlab consulting, development and training</description>
	<lastBuildDate>Mon, 06 Nov 2017 15:44:46 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.3</generator>
	<item>
		<title>
		By: Amit		</title>
		<link>https://undocumentedmatlab.com/articles/editable-combo-box#comment-416109</link>

		<dc:creator><![CDATA[Amit]]></dc:creator>
		<pubDate>Mon, 06 Nov 2017 15:44:46 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=4246#comment-416109</guid>

					<description><![CDATA[Hi Yair,

How can I use JIDE&#039;s DateComboBox as the celleditor for a column in a jide table? So basically a table column having a combobox dropdown as a date selector(calendar), I have set the column class as date and made it to accept different date formats, but couldn&#039;t get calendar dropdown to work in a table. 

Thanks,
Amit]]></description>
			<content:encoded><![CDATA[<p>Hi Yair,</p>
<p>How can I use JIDE&#8217;s DateComboBox as the celleditor for a column in a jide table? So basically a table column having a combobox dropdown as a date selector(calendar), I have set the column class as date and made it to accept different date formats, but couldn&#8217;t get calendar dropdown to work in a table. </p>
<p>Thanks,<br />
Amit</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/editable-combo-box#comment-411853</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Sat, 12 Aug 2017 17:44:39 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=4246#comment-411853</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/editable-combo-box#comment-411798&quot;&gt;Eric&lt;/a&gt;.

@Eric - you can integrate a &lt;code&gt;com.jidesoft.combobox.MultiSelectListComboBox&lt;/code&gt; or &lt;code&gt;MultilineStringComboBox&lt;/code&gt;. If you need consulting assistance, contact me by email.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/editable-combo-box#comment-411798">Eric</a>.</p>
<p>@Eric &#8211; you can integrate a <code>com.jidesoft.combobox.MultiSelectListComboBox</code> or <code>MultilineStringComboBox</code>. If you need consulting assistance, contact me by email.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Eric		</title>
		<link>https://undocumentedmatlab.com/articles/editable-combo-box#comment-411798</link>

		<dc:creator><![CDATA[Eric]]></dc:creator>
		<pubDate>Fri, 11 Aug 2017 17:31:49 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=4246#comment-411798</guid>

					<description><![CDATA[I created a plotter using three popup menus: one for X-variable, one for Y, and one for a figure name.  When a figure name (number) is selected, its callback function grabs strings from X and Y popup menus, search these from a loaded dataset, and plots them.

What I want to do is multiple-selection on a popup menu.  I researched quite a bit and learned that popup menu doesn&#039;t have that capability as you also mentioned on the top in the regular documented way.

The reason why I don&#039;t want and almost can&#039;t use list box is my GUI has many panels from top to bottom; each containing the three popup menus mentioned above.  Each panel represents one dataset.  This means if I select and load ten .MAT files, a GUI will be created with 10 panels from top to bottom.  Each dataset can have as many as 100 or more variables.  Unless I completely scrub the current GUI generation code, listbox won&#039;t work.  Say each listbox shows ten variables and a scroll bar.  The height of it and some margins above and below times 10 will create a gigantic GUI that will be basically unusable.

Do you know a work-around?  Thank you in advance.]]></description>
			<content:encoded><![CDATA[<p>I created a plotter using three popup menus: one for X-variable, one for Y, and one for a figure name.  When a figure name (number) is selected, its callback function grabs strings from X and Y popup menus, search these from a loaded dataset, and plots them.</p>
<p>What I want to do is multiple-selection on a popup menu.  I researched quite a bit and learned that popup menu doesn&#8217;t have that capability as you also mentioned on the top in the regular documented way.</p>
<p>The reason why I don&#8217;t want and almost can&#8217;t use list box is my GUI has many panels from top to bottom; each containing the three popup menus mentioned above.  Each panel represents one dataset.  This means if I select and load ten .MAT files, a GUI will be created with 10 panels from top to bottom.  Each dataset can have as many as 100 or more variables.  Unless I completely scrub the current GUI generation code, listbox won&#8217;t work.  Say each listbox shows ten variables and a scroll bar.  The height of it and some margins above and below times 10 will create a gigantic GUI that will be basically unusable.</p>
<p>Do you know a work-around?  Thank you in advance.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/editable-combo-box#comment-339833</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Wed, 03 Dec 2014 22:13:39 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=4246#comment-339833</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/editable-combo-box#comment-339743&quot;&gt;Buer&lt;/a&gt;.

@Buer - you can use the &lt;b&gt;Position&lt;/b&gt; property of the uicontrol to place it anywhere in your figure, and place separate &lt;i&gt;&lt;b&gt;uicontrol&lt;/b&gt;&lt;/i&gt;s in separate locations. You can use other calls to &lt;i&gt;&lt;b&gt;uicontrol&lt;/b&gt;&lt;/i&gt; to place text labels. Look it up in the &lt;a href=&quot;http://www.mathworks.com/help/matlab/ref/uicontrol.html&quot; rel=&quot;nofollow&quot;&gt;documentation&lt;/a&gt;.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/editable-combo-box#comment-339743">Buer</a>.</p>
<p>@Buer &#8211; you can use the <b>Position</b> property of the uicontrol to place it anywhere in your figure, and place separate <i><b>uicontrol</b></i>s in separate locations. You can use other calls to <i><b>uicontrol</b></i> to place text labels. Look it up in the <a href="http://www.mathworks.com/help/matlab/ref/uicontrol.html" rel="nofollow">documentation</a>.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Buer		</title>
		<link>https://undocumentedmatlab.com/articles/editable-combo-box#comment-339743</link>

		<dc:creator><![CDATA[Buer]]></dc:creator>
		<pubDate>Wed, 03 Dec 2014 08:43:45 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=4246#comment-339743</guid>

					<description><![CDATA[Hi Yair,


Thanks for the great information. However I want to ask if I have two combobox, how can I put them inside one figure instead of two? 

Meanwhile, if I want to have a label for each combbox. How can I do that? I checked around, did not find anything about that. 

Thanks.]]></description>
			<content:encoded><![CDATA[<p>Hi Yair,</p>
<p>Thanks for the great information. However I want to ask if I have two combobox, how can I put them inside one figure instead of two? </p>
<p>Meanwhile, if I want to have a label for each combbox. How can I do that? I checked around, did not find anything about that. </p>
<p>Thanks.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/editable-combo-box#comment-332662</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Sat, 27 Sep 2014 19:27:56 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=4246#comment-332662</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/editable-combo-box#comment-332329&quot;&gt;King&lt;/a&gt;.

@King - see my &lt;a href=&quot;http://undocumentedmatlab.com/blog/editable-combo-box#comment-330718&quot; rel=&quot;nofollow&quot;&gt;answer above&lt;/a&gt; to Steven Tsai.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/editable-combo-box#comment-332329">King</a>.</p>
<p>@King &#8211; see my <a href="http://undocumentedmatlab.com/blog/editable-combo-box#comment-330718" rel="nofollow">answer above</a> to Steven Tsai.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: King		</title>
		<link>https://undocumentedmatlab.com/articles/editable-combo-box#comment-332329</link>

		<dc:creator><![CDATA[King]]></dc:creator>
		<pubDate>Wed, 24 Sep 2014 14:51:43 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=4246#comment-332329</guid>

					<description><![CDATA[Hi Yair

set(jCombo, &#039;ActionPerformedCallback&#039;, @myCallbackFcn)

This commandline can handle the callback.
But I want to handle the user input more precisely.
I try to hear  &#039;Up&#039; &#039;Down&#039; &#039;Enter&#039;key pressed or mouse left click.
Therefore, I can assign different function to different user input.
Is it possible to do that in combo box? If so, how?

Thanks a lot.]]></description>
			<content:encoded><![CDATA[<p>Hi Yair</p>
<p>set(jCombo, &#8216;ActionPerformedCallback&#8217;, @myCallbackFcn)</p>
<p>This commandline can handle the callback.<br />
But I want to handle the user input more precisely.<br />
I try to hear  &#8216;Up&#8217; &#8216;Down&#8217; &#8216;Enter&#8217;key pressed or mouse left click.<br />
Therefore, I can assign different function to different user input.<br />
Is it possible to do that in combo box? If so, how?</p>
<p>Thanks a lot.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: King		</title>
		<link>https://undocumentedmatlab.com/articles/editable-combo-box#comment-331671</link>

		<dc:creator><![CDATA[King]]></dc:creator>
		<pubDate>Tue, 16 Sep 2014 03:21:15 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=4246#comment-331671</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/editable-combo-box#comment-331647&quot;&gt;King&lt;/a&gt;.

Thanks! It works!
Before I saw your solution, I figure out I can use KeyReleasedCallBack as my callback property
However, it still not solve the mouse click issue. 
Your one get the job done perfectly!
Furthermore, instead of clicking mouse on the item, moving mouse on item then fire the callback?
I tried jCombo.getcomponent(2) and added mouselistener, but it doesn&#039;t help.
Maybe I am in a right approach but missing some lines?

Thanks!]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/editable-combo-box#comment-331647">King</a>.</p>
<p>Thanks! It works!<br />
Before I saw your solution, I figure out I can use KeyReleasedCallBack as my callback property<br />
However, it still not solve the mouse click issue.<br />
Your one get the job done perfectly!<br />
Furthermore, instead of clicking mouse on the item, moving mouse on item then fire the callback?<br />
I tried jCombo.getcomponent(2) and added mouselistener, but it doesn&#8217;t help.<br />
Maybe I am in a right approach but missing some lines?</p>
<p>Thanks!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/editable-combo-box#comment-331651</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Mon, 15 Sep 2014 20:51:50 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=4246#comment-331651</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/editable-combo-box#comment-331647&quot;&gt;King&lt;/a&gt;.

@King - 
&lt;pre lang=&#039;matlab&#039;&gt;set(jCombo, &#039;ActionPerformedCallback&#039;, @myCallbackFcn)&lt;/pre&gt;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/editable-combo-box#comment-331647">King</a>.</p>
<p>@King &#8211; </p>
<pre lang='matlab'>set(jCombo, 'ActionPerformedCallback', @myCallbackFcn)</pre>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: King		</title>
		<link>https://undocumentedmatlab.com/articles/editable-combo-box#comment-331647</link>

		<dc:creator><![CDATA[King]]></dc:creator>
		<pubDate>Mon, 15 Sep 2014 19:16:14 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=4246#comment-331647</guid>

					<description><![CDATA[Hi Yair

Firstly, thank you for your website.
I found a lot of useful hints from your website.

At this time, I try to call a MATLAB function when an item was selected in combo box&#039;s drop down list. (mouse or up/down key pressed)
I know I can do that in Java by adding &#039;addactionlistener&#039; or &#039;additemlistener&#039;.

How can I do the same job in MATLAB GUI?

Thanks,

King]]></description>
			<content:encoded><![CDATA[<p>Hi Yair</p>
<p>Firstly, thank you for your website.<br />
I found a lot of useful hints from your website.</p>
<p>At this time, I try to call a MATLAB function when an item was selected in combo box&#8217;s drop down list. (mouse or up/down key pressed)<br />
I know I can do that in Java by adding &#8216;addactionlistener&#8217; or &#8216;additemlistener&#8217;.</p>
<p>How can I do the same job in MATLAB GUI?</p>
<p>Thanks,</p>
<p>King</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
