<?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: Customizing combobox popups	</title>
	<atom:link href="https://undocumentedmatlab.com/articles/customizing-combobox-popups/feed" rel="self" type="application/rss+xml" />
	<link>https://undocumentedmatlab.com/articles/customizing-combobox-popups?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=customizing-combobox-popups</link>
	<description>Professional Matlab consulting, development and training</description>
	<lastBuildDate>Tue, 02 Jun 2015 08:46:11 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.3</generator>
	<item>
		<title>
		By: Andras		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-combobox-popups#comment-350423</link>

		<dc:creator><![CDATA[Andras]]></dc:creator>
		<pubDate>Tue, 02 Jun 2015 08:46:11 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=5056#comment-350423</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/customizing-combobox-popups#comment-350421&quot;&gt;Yair Altman&lt;/a&gt;.

I try to build my GUI using normalized units to set the position property (to avoid setting the ResizeFcn). My main concern is that there is always a label, and sometimes an editbox also next to the popup, and I need to keep them in the same line, and height, etc ... , for the GUI to look OK.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/customizing-combobox-popups#comment-350421">Yair Altman</a>.</p>
<p>I try to build my GUI using normalized units to set the position property (to avoid setting the ResizeFcn). My main concern is that there is always a label, and sometimes an editbox also next to the popup, and I need to keep them in the same line, and height, etc &#8230; , for the GUI to look OK.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-combobox-popups#comment-350421</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Tue, 02 Jun 2015 08:40:10 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=5056#comment-350421</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/customizing-combobox-popups#comment-350419&quot;&gt;Andras&lt;/a&gt;.

Correct. Try keeping the uicontrol height at its standard value (20px) - maybe that will help findobj() to find it. You don&#039;t care about the height value anyway because as you have seen it does not really affect the actual displayed control height.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/customizing-combobox-popups#comment-350419">Andras</a>.</p>
<p>Correct. Try keeping the uicontrol height at its standard value (20px) &#8211; maybe that will help findobj() to find it. You don&#8217;t care about the height value anyway because as you have seen it does not really affect the actual displayed control height.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Andras		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-combobox-popups#comment-350419</link>

		<dc:creator><![CDATA[Andras]]></dc:creator>
		<pubDate>Tue, 02 Jun 2015 08:31:10 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=5056#comment-350419</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/customizing-combobox-popups#comment-350371&quot;&gt;Andras&lt;/a&gt;.

Alright, now I see, so the basic popup menu uicontrol height is not editable.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/customizing-combobox-popups#comment-350371">Andras</a>.</p>
<p>Alright, now I see, so the basic popup menu uicontrol height is not editable.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Andras		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-combobox-popups#comment-350417</link>

		<dc:creator><![CDATA[Andras]]></dc:creator>
		<pubDate>Tue, 02 Jun 2015 08:23:05 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=5056#comment-350417</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/customizing-combobox-popups#comment-350371&quot;&gt;Andras&lt;/a&gt;.

Thanks, for the fast reply. 
Sadly neither of those work, I still get an empty handle after calling findjobj.

I dont quite get your second answer, I thought the Position property sets [left bottom width height] the size of the object, but calling a simple JComboBox with javacomponent, or calling an MLComboBox with uicontrol, and then setting their position property to the exact same values, I still get 2 different height.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/customizing-combobox-popups#comment-350371">Andras</a>.</p>
<p>Thanks, for the fast reply.<br />
Sadly neither of those work, I still get an empty handle after calling findjobj.</p>
<p>I dont quite get your second answer, I thought the Position property sets [left bottom width height] the size of the object, but calling a simple JComboBox with javacomponent, or calling an MLComboBox with uicontrol, and then setting their position property to the exact same values, I still get 2 different height.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-combobox-popups#comment-350377</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Mon, 01 Jun 2015 14:56:02 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=5056#comment-350377</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/customizing-combobox-popups#comment-350371&quot;&gt;Andras&lt;/a&gt;.

@Andras - perhaps the control is not yet visible by the time findjobj is called. Try calling &lt;i&gt;&lt;b&gt;drawnow; pause(0.05);&lt;/b&gt;&lt;/i&gt; and ensure you are not setting Visible=&#039;off&#039;.

Re the control height, this is how Matlab works internally; the height is automatic and cannot be controlled from Matlab. It is possible (but also not trivial) to do it in Java. You can search for this online.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/customizing-combobox-popups#comment-350371">Andras</a>.</p>
<p>@Andras &#8211; perhaps the control is not yet visible by the time findjobj is called. Try calling <i><b>drawnow; pause(0.05);</b></i> and ensure you are not setting Visible=&#8217;off&#8217;.</p>
<p>Re the control height, this is how Matlab works internally; the height is automatic and cannot be controlled from Matlab. It is possible (but also not trivial) to do it in Java. You can search for this online.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Andras		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-combobox-popups#comment-350371</link>

		<dc:creator><![CDATA[Andras]]></dc:creator>
		<pubDate>Mon, 01 Jun 2015 12:58:13 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=5056#comment-350371</guid>

					<description><![CDATA[Dear Yair!

I&#039;ve run into a problem using your findjobj utility, I am trying to build a GUI with several popup menus. I build a popup menu using hComboBox=uicontrol(&#039;Style&#039;,&#039;popup&#039;,...), but for some reason the findjobj(hComboBox) returns an empty handle. When I do the same in the command window it works perfectly (also when I call: findjobj(&#039;class&#039;,&#039;MLComboBox&#039;). Is there a reason why is it acting like that when I call the findjobj in a function?

And secondly, why is it that when I declare the same Position property to a Matlab popup menu, and an EditBox, the height of the 2 object differ?

I am using R2014b version.

Thanks, for your reply!]]></description>
			<content:encoded><![CDATA[<p>Dear Yair!</p>
<p>I&#8217;ve run into a problem using your findjobj utility, I am trying to build a GUI with several popup menus. I build a popup menu using hComboBox=uicontrol(&#8216;Style&#8217;,&#8217;popup&#8217;,&#8230;), but for some reason the findjobj(hComboBox) returns an empty handle. When I do the same in the command window it works perfectly (also when I call: findjobj(&#8216;class&#8217;,&#8217;MLComboBox&#8217;). Is there a reason why is it acting like that when I call the findjobj in a function?</p>
<p>And secondly, why is it that when I declare the same Position property to a Matlab popup menu, and an EditBox, the height of the 2 object differ?</p>
<p>I am using R2014b version.</p>
<p>Thanks, for your reply!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: oro77		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-combobox-popups#comment-332398</link>

		<dc:creator><![CDATA[oro77]]></dc:creator>
		<pubDate>Thu, 25 Sep 2014 07:44:41 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=5056#comment-332398</guid>

					<description><![CDATA[I agree concerning 14b, I prefer stability, functionability and compabilities support more than new functions.

@Aurélien&#062; More updates of your blog would be welcomed :)]]></description>
			<content:encoded><![CDATA[<p>I agree concerning 14b, I prefer stability, functionability and compabilities support more than new functions.</p>
<p>@Aurélien&gt; More updates of your blog would be welcomed 🙂</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Aurélien		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-combobox-popups#comment-332322</link>

		<dc:creator><![CDATA[Aurélien]]></dc:creator>
		<pubDate>Wed, 24 Sep 2014 13:10:57 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=5056#comment-332322</guid>

					<description><![CDATA[About 14b : it is definitely a major update. I already know that a lot of software here will not migrate into 14b. You were talking about 10b , for us the biggest gap was 11b to 12a (or any newer release) because TMW changed the behavior of matrix functions like &lt;i&gt;&lt;b&gt;setdiff&lt;/b&gt;&lt;/i&gt;, &lt;i&gt;&lt;b&gt;intersect&lt;/b&gt;&lt;/i&gt;, &lt;i&gt;&lt;b&gt;union&lt;/b&gt;&lt;/i&gt;, &lt;i&gt;&lt;b&gt;ismember&lt;/b&gt;&lt;/i&gt; ... (fortunately  we have the workaround LEGACY flag like -v6 !!)

I love new features but I hate compatibility issues

Maybe 14b will be alive in a few days before MATLAB Expo 2014 (2nd October @ Paris...and I will be there even if I am from south of France!!)]]></description>
			<content:encoded><![CDATA[<p>About 14b : it is definitely a major update. I already know that a lot of software here will not migrate into 14b. You were talking about 10b , for us the biggest gap was 11b to 12a (or any newer release) because TMW changed the behavior of matrix functions like <i><b>setdiff</b></i>, <i><b>intersect</b></i>, <i><b>union</b></i>, <i><b>ismember</b></i> &#8230; (fortunately  we have the workaround LEGACY flag like -v6 !!)</p>
<p>I love new features but I hate compatibility issues</p>
<p>Maybe 14b will be alive in a few days before MATLAB Expo 2014 (2nd October @ Paris&#8230;and I will be there even if I am from south of France!!)</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
