<?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: Spicing up Matlab uicontrol tooltips	</title>
	<atom:link href="https://undocumentedmatlab.com/articles/spicing-up-matlab-uicontrol-tooltips/feed" rel="self" type="application/rss+xml" />
	<link>https://undocumentedmatlab.com/articles/spicing-up-matlab-uicontrol-tooltips?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=spicing-up-matlab-uicontrol-tooltips</link>
	<description>Professional Matlab consulting, development and training</description>
	<lastBuildDate>Sun, 21 Oct 2018 15:25:35 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.2</generator>
	<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/spicing-up-matlab-uicontrol-tooltips#comment-448263</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Sun, 21 Oct 2018 15:25:35 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=327#comment-448263</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/spicing-up-matlab-uicontrol-tooltips#comment-446375&quot;&gt;Konstantin&lt;/a&gt;.

@Konstantin - you can set up a custom cell-editor that displays a different list of drop-down/pop-up values based on certain conditions (such as the data in another column in the same row). I explain how to do this in my book &lt;a href=&quot;http://undocumentedmatlab.com/books/matlab-java&quot; rel=&quot;nofollow&quot;&gt;Undocumented Secrets of Matlab-Java Programming&lt;/a&gt; or in my &lt;a href=&quot;http://undocumentedmatlab.com/blog/uitable-customization-report&quot; rel=&quot;nofollow&quot;&gt;uitable customization report&lt;/a&gt;:
&lt;img src=&quot;http://undocumentedmatlab.com/images/uitable_lookup.png&quot; /&gt;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/spicing-up-matlab-uicontrol-tooltips#comment-446375">Konstantin</a>.</p>
<p>@Konstantin &#8211; you can set up a custom cell-editor that displays a different list of drop-down/pop-up values based on certain conditions (such as the data in another column in the same row). I explain how to do this in my book <a href="http://undocumentedmatlab.com/books/matlab-java" rel="nofollow">Undocumented Secrets of Matlab-Java Programming</a> or in my <a href="http://undocumentedmatlab.com/blog/uitable-customization-report" rel="nofollow">uitable customization report</a>:<br />
<img src="http://undocumentedmatlab.com/images/uitable_lookup.png" /></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Konstantin		</title>
		<link>https://undocumentedmatlab.com/articles/spicing-up-matlab-uicontrol-tooltips#comment-446375</link>

		<dc:creator><![CDATA[Konstantin]]></dc:creator>
		<pubDate>Thu, 11 Oct 2018 08:18:09 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=327#comment-446375</guid>

					<description><![CDATA[Hi Yair. Your article is excellent, but i see in column &quot;Names&quot; you realized different data for popup in different rows. Please, can you says how you do this?]]></description>
			<content:encoded><![CDATA[<p>Hi Yair. Your article is excellent, but i see in column &#8220;Names&#8221; you realized different data for popup in different rows. Please, can you says how you do this?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/spicing-up-matlab-uicontrol-tooltips#comment-332965</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Wed, 01 Oct 2014 05:05:21 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=327#comment-332965</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/spicing-up-matlab-uicontrol-tooltips#comment-332957&quot;&gt;Laurent&lt;/a&gt;.

@Laurent - set the &lt;b&gt;TooltipString&lt;/b&gt; property on the toolbar icon&#039;s handle (&lt;i&gt;&lt;b&gt;uipushtool&lt;/b&gt;&lt;/i&gt;, &lt;i&gt;&lt;b&gt;uitoggletool&lt;/b&gt;&lt;/i&gt;, &lt;i&gt;&lt;b&gt;uisplittool&lt;/b&gt;&lt;/i&gt;, or &lt;i&gt;&lt;b&gt;uitogglesplittool&lt;/b&gt;&lt;/i&gt;) - not on the toolbar handle.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/spicing-up-matlab-uicontrol-tooltips#comment-332957">Laurent</a>.</p>
<p>@Laurent &#8211; set the <b>TooltipString</b> property on the toolbar icon&#8217;s handle (<i><b>uipushtool</b></i>, <i><b>uitoggletool</b></i>, <i><b>uisplittool</b></i>, or <i><b>uitogglesplittool</b></i>) &#8211; not on the toolbar handle.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Laurent		</title>
		<link>https://undocumentedmatlab.com/articles/spicing-up-matlab-uicontrol-tooltips#comment-332957</link>

		<dc:creator><![CDATA[Laurent]]></dc:creator>
		<pubDate>Wed, 01 Oct 2014 04:38:08 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=327#comment-332957</guid>

					<description><![CDATA[Hi Yair , 
Thanks for the tremendous amount of good tips on this blog, it s really helpful.
i was wondering how to put tooltip on a matlab toolbar icon.
As &#039;TooltipString&#039; is not an accessible property for an instance of class &#039;uitoolbar&#039;.

any idea how to work around this ?

Thanks,

L.]]></description>
			<content:encoded><![CDATA[<p>Hi Yair ,<br />
Thanks for the tremendous amount of good tips on this blog, it s really helpful.<br />
i was wondering how to put tooltip on a matlab toolbar icon.<br />
As &#8216;TooltipString&#8217; is not an accessible property for an instance of class &#8216;uitoolbar&#8217;.</p>
<p>any idea how to work around this ?</p>
<p>Thanks,</p>
<p>L.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Kai		</title>
		<link>https://undocumentedmatlab.com/articles/spicing-up-matlab-uicontrol-tooltips#comment-323867</link>

		<dc:creator><![CDATA[Kai]]></dc:creator>
		<pubDate>Tue, 29 Apr 2014 08:11:10 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=327#comment-323867</guid>

					<description><![CDATA[@Yair,

The code to display tooltips programmatically does not work for uitables in newer Matlab versions anymore:

&lt;pre lang=&quot;matlab&quot;&gt;
import java.awt.event.ActionEvent;
u = uitable(&#039;data&#039;,zeros(4,4),&#039;tooltip&#039;,&#039;text...&#039;);
jScroll = findjobj(u);
jTable = jScroll.getViewport.getView;
action = jTable.getActionMap.get(&#039;postTip&#039;)
&lt;/pre&gt;

matlab output:
&lt;pre lang=&quot;matlab&quot;&gt;
action =
     []
&lt;/pre&gt;]]></description>
			<content:encoded><![CDATA[<p>@Yair,</p>
<p>The code to display tooltips programmatically does not work for uitables in newer Matlab versions anymore:</p>
<pre lang="matlab">
import java.awt.event.ActionEvent;
u = uitable('data',zeros(4,4),'tooltip','text...');
jScroll = findjobj(u);
jTable = jScroll.getViewport.getView;
action = jTable.getActionMap.get('postTip')
</pre>
<p>matlab output:</p>
<pre lang="matlab">
action =
     []
</pre>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Nick		</title>
		<link>https://undocumentedmatlab.com/articles/spicing-up-matlab-uicontrol-tooltips#comment-103302</link>

		<dc:creator><![CDATA[Nick]]></dc:creator>
		<pubDate>Fri, 10 Aug 2012 14:16:06 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=327#comment-103302</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/spicing-up-matlab-uicontrol-tooltips#comment-103180&quot;&gt;Nick&lt;/a&gt;.

I ended up getting this working by adding the image file to the executable&#039;s CTF archive (using the -a option to MCC) and then referencing it in my code by:

&lt;pre lang=&quot;matlab&quot;&gt;
imagePath = fullfile(ctfroot,&#039;mypic.png&#039;);
&lt;/pre&gt;

Then I provided imagePath as the path in the &quot;img&quot; tag.  So...this was less of an HTML question, more about proper use of MCC.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/spicing-up-matlab-uicontrol-tooltips#comment-103180">Nick</a>.</p>
<p>I ended up getting this working by adding the image file to the executable&#8217;s CTF archive (using the -a option to MCC) and then referencing it in my code by:</p>
<pre lang="matlab">
imagePath = fullfile(ctfroot,'mypic.png');
</pre>
<p>Then I provided imagePath as the path in the &#8220;img&#8221; tag.  So&#8230;this was less of an HTML question, more about proper use of MCC.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Nick		</title>
		<link>https://undocumentedmatlab.com/articles/spicing-up-matlab-uicontrol-tooltips#comment-103180</link>

		<dc:creator><![CDATA[Nick]]></dc:creator>
		<pubDate>Thu, 09 Aug 2012 20:33:57 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=327#comment-103180</guid>

					<description><![CDATA[Is it possible to use HTML to reference an image file from a compiled MATLAB executable?  Is the format for the HTML &quot;img&quot; tag the same? 

img src=&quot;file:\c:/user/mypic.png&quot; worked when running my application in MATLAB, but I think the path isn&#039;t correct when I run from my compiled exe.  (Crazy MCR!)

Also, are relative paths accepted?  I could only get this to work with a full path so far.]]></description>
			<content:encoded><![CDATA[<p>Is it possible to use HTML to reference an image file from a compiled MATLAB executable?  Is the format for the HTML &#8220;img&#8221; tag the same? </p>
<p>img src=&#8221;file:\c:/user/mypic.png&#8221; worked when running my application in MATLAB, but I think the path isn&#8217;t correct when I run from my compiled exe.  (Crazy MCR!)</p>
<p>Also, are relative paths accepted?  I could only get this to work with a full path so far.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Multi-line tooltips &#124; Undocumented Matlab		</title>
		<link>https://undocumentedmatlab.com/articles/spicing-up-matlab-uicontrol-tooltips#comment-60858</link>

		<dc:creator><![CDATA[Multi-line tooltips &#124; Undocumented Matlab]]></dc:creator>
		<pubDate>Thu, 03 Nov 2011 02:11:37 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=327#comment-60858</guid>

					<description><![CDATA[[...] In this blog, I have already posted several articles about how to tweak tooltip contents (here, here, and here). Today I would like to expand on one of the aspects that were already covered, [...]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] In this blog, I have already posted several articles about how to tweak tooltip contents (here, here, and here). Today I would like to expand on one of the aspects that were already covered, [&#8230;]</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/spicing-up-matlab-uicontrol-tooltips#comment-24647</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Sat, 04 Dec 2010 18:45:38 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=327#comment-24647</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/spicing-up-matlab-uicontrol-tooltips#comment-24508&quot;&gt;Koelemay&lt;/a&gt;.

@Koelemay - datacursor popups are not tooltips and they don&#039;t support HTML to the best of my knowledge. There&#039;s probably a way to make them HTML-aware, if you dig deep enough in the datacursor code (\toolbox\matlab\graphics\@graphics\@datacursor\*.m, \@datatip\*.m and their relatives within \@graphics). Let us all know if you find a workaround.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/spicing-up-matlab-uicontrol-tooltips#comment-24508">Koelemay</a>.</p>
<p>@Koelemay &#8211; datacursor popups are not tooltips and they don&#8217;t support HTML to the best of my knowledge. There&#8217;s probably a way to make them HTML-aware, if you dig deep enough in the datacursor code (\toolbox\matlab\graphics\@graphics\@datacursor\*.m, \@datatip\*.m and their relatives within \@graphics). Let us all know if you find a workaround.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Koelemay		</title>
		<link>https://undocumentedmatlab.com/articles/spicing-up-matlab-uicontrol-tooltips#comment-24508</link>

		<dc:creator><![CDATA[Koelemay]]></dc:creator>
		<pubDate>Fri, 03 Dec 2010 13:42:44 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=327#comment-24508</guid>

					<description><![CDATA[Hi Yair,
Sorry I think my question was too ambiguous; I was wondering if it is possible to get html markup in the datacursor mode popups.  So, for example, using datamatrix I&#039;d like to use html markup in the strings for the dataTips input.  Hopefully I&#039;m not missing something horribly obvious!  Thanks again for your help!]]></description>
			<content:encoded><![CDATA[<p>Hi Yair,<br />
Sorry I think my question was too ambiguous; I was wondering if it is possible to get html markup in the datacursor mode popups.  So, for example, using datamatrix I&#8217;d like to use html markup in the strings for the dataTips input.  Hopefully I&#8217;m not missing something horribly obvious!  Thanks again for your help!</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
