<?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 editboxes	</title>
	<atom:link href="https://undocumentedmatlab.com/articles/customizing-editboxes/feed" rel="self" type="application/rss+xml" />
	<link>https://undocumentedmatlab.com/articles/customizing-editboxes?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=customizing-editboxes</link>
	<description>Professional Matlab consulting, development and training</description>
	<lastBuildDate>Tue, 08 May 2018 15:42:24 +0000</lastBuildDate>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.7.3</generator>
	<item>
		<title>
		By: David		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-editboxes#comment-425145</link>

		<dc:creator><![CDATA[David]]></dc:creator>
		<pubDate>Tue, 08 May 2018 15:42:24 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=4212#comment-425145</guid>

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

Hi Yair,

Thanks for the quick reply. I will take a look!]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/customizing-editboxes#comment-425141">David</a>.</p>
<p>Hi Yair,</p>
<p>Thanks for the quick reply. I will take a look!</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-editboxes#comment-425144</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Tue, 08 May 2018 15:36:10 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=4212#comment-425144</guid>

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

@David - almost all the GUI customizations described in this blog relate only to the legacy (Java-based) figures. AppDesigner-created figures (so-called &quot;uifigures&quot;) are web-based HTML pages displayed in a browser window, which is an entirely different technology. To customize uifigure controls see the series of posts on uifigure customization: http://undocumentedmatlab.com/blog/tag/uifigure]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/customizing-editboxes#comment-425141">David</a>.</p>
<p>@David &#8211; almost all the GUI customizations described in this blog relate only to the legacy (Java-based) figures. AppDesigner-created figures (so-called &#8220;uifigures&#8221;) are web-based HTML pages displayed in a browser window, which is an entirely different technology. To customize uifigure controls see the series of posts on uifigure customization: <a href="http://undocumentedmatlab.com/blog/tag/uifigure" rel="ugc">http://undocumentedmatlab.com/blog/tag/uifigure</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: David		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-editboxes#comment-425141</link>

		<dc:creator><![CDATA[David]]></dc:creator>
		<pubDate>Tue, 08 May 2018 15:08:43 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=4212#comment-425141</guid>

					<description><![CDATA[Is there anyway to get this to work with app designer? I can&#039;t seem to find any java objects in app designer and I am not sure if there is a way that I just don&#039;t know about.]]></description>
			<content:encoded><![CDATA[<p>Is there anyway to get this to work with app designer? I can&#8217;t seem to find any java objects in app designer and I am not sure if there is a way that I just don&#8217;t know about.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-editboxes#comment-420348</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Tue, 13 Mar 2018 08:45:58 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=4212#comment-420348</guid>

					<description><![CDATA[In reply to &lt;a href=&quot;https://undocumentedmatlab.com/articles/customizing-editboxes#comment-420342&quot;&gt;Nipurn Jain&lt;/a&gt;.

@Nipurn - yes this is possible using &lt;a href=&quot;http://undocumentedmatlab.com/blog/findjobj-find-underlying-java-object&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;&lt;i&gt;&lt;b&gt;findjobj&lt;/b&gt;&lt;/i&gt;&lt;/a&gt;: 
&lt;pre lang=&quot;matlab&quot;&gt;
hEditbox = uicontrol(&#039;style&#039;,&#039;edit&#039;, ...); drawnow
jEditbox = findjobj(hEditbox);
try jEditbox = jEditbox.getViewport.getView; end  % in case it&#039;s a multi-line editbox
caretPos = jEditbox.getCaretPosition;  % or: =get(jEditbox,&#039;CaretPosition&#039;);
&lt;/pre&gt;

There&#039;s also a corresponding &lt;code&gt;setCaretPosition(position)&lt;/code&gt; method.
See related: &lt;a href=&quot;http://undocumentedmatlab.com/blog/setting-line-position-in-edit-box-uicontrol&quot; target=&quot;_blank&quot; rel=&quot;nofollow&quot;&gt;http://undocumentedmatlab.com/blog/setting-line-position-in-edit-box-uicontrol&lt;/a&gt;]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/customizing-editboxes#comment-420342">Nipurn Jain</a>.</p>
<p>@Nipurn &#8211; yes this is possible using <a href="http://undocumentedmatlab.com/blog/findjobj-find-underlying-java-object" target="_blank" rel="nofollow"><i><b>findjobj</b></i></a>: </p>
<pre lang="matlab">
hEditbox = uicontrol('style','edit', ...); drawnow
jEditbox = findjobj(hEditbox);
try jEditbox = jEditbox.getViewport.getView; end  % in case it's a multi-line editbox
caretPos = jEditbox.getCaretPosition;  % or: =get(jEditbox,'CaretPosition');
</pre>
<p>There&#8217;s also a corresponding <code>setCaretPosition(position)</code> method.<br />
See related: <a href="http://undocumentedmatlab.com/blog/setting-line-position-in-edit-box-uicontrol" target="_blank" rel="nofollow">http://undocumentedmatlab.com/blog/setting-line-position-in-edit-box-uicontrol</a></p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Nipurn Jain		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-editboxes#comment-420342</link>

		<dc:creator><![CDATA[Nipurn Jain]]></dc:creator>
		<pubDate>Tue, 13 Mar 2018 06:57:10 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=4212#comment-420342</guid>

					<description><![CDATA[How to determine cursor position in &#039;edit&#039; uicontrol?

I have an application where there are several buttons that apply a specific function to the data. The user can also enter values in the edit box. However if the cursor is positioned in the edit box and a button is pressed the new function will appear at the end of the edit box and I need that this appear at cursor position how to do this?
Is it possible by using javaframe available on matlab?]]></description>
			<content:encoded><![CDATA[<p>How to determine cursor position in &#8216;edit&#8217; uicontrol?</p>
<p>I have an application where there are several buttons that apply a specific function to the data. The user can also enter values in the edit box. However if the cursor is positioned in the edit box and a button is pressed the new function will appear at the end of the edit box and I need that this appear at cursor position how to do this?<br />
Is it possible by using javaframe available on matlab?</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Raj		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-editboxes#comment-318420</link>

		<dc:creator><![CDATA[Raj]]></dc:creator>
		<pubDate>Wed, 12 Mar 2014 08:39:53 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=4212#comment-318420</guid>

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

Hi,
of course i meant multiline editbox :) I figured it out myself with the addHighlight method of jEditbox :)
Thanks anyway]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/customizing-editboxes#comment-318156">Yair Altman</a>.</p>
<p>Hi,<br />
of course i meant multiline editbox 🙂 I figured it out myself with the addHighlight method of jEditbox 🙂<br />
Thanks anyway</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Yair Altman		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-editboxes#comment-318156</link>

		<dc:creator><![CDATA[Yair Altman]]></dc:creator>
		<pubDate>Mon, 10 Mar 2014 17:13:05 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=4212#comment-318156</guid>

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

@Raj - I do not think that this is supported in a single-line editbox, but you can always use a multi-line editbox or listbox.]]></description>
			<content:encoded><![CDATA[<p>In reply to <a href="https://undocumentedmatlab.com/articles/customizing-editboxes#comment-317633">Raj</a>.</p>
<p>@Raj &#8211; I do not think that this is supported in a single-line editbox, but you can always use a multi-line editbox or listbox.</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Raj		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-editboxes#comment-317633</link>

		<dc:creator><![CDATA[Raj]]></dc:creator>
		<pubDate>Fri, 07 Mar 2014 15:23:35 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=4212#comment-317633</guid>

					<description><![CDATA[Hey Yair,
I&#039;ve got a question. Your Text Selection Method works fine! I&#039;ve tried make a search function for my editbox so it can mark(select) every word he found. But the Selection does work only once. Is there no way of multiple selections?
Greetings]]></description>
			<content:encoded><![CDATA[<p>Hey Yair,<br />
I&#8217;ve got a question. Your Text Selection Method works fine! I&#8217;ve tried make a search function for my editbox so it can mark(select) every word he found. But the Selection does work only once. Is there no way of multiple selections?<br />
Greetings</p>
]]></content:encoded>
		
			</item>
		<item>
		<title>
		By: Editable combo-box &#124; Undocumented Matlab		</title>
		<link>https://undocumentedmatlab.com/articles/customizing-editboxes#comment-280071</link>

		<dc:creator><![CDATA[Editable combo-box &#124; Undocumented Matlab]]></dc:creator>
		<pubDate>Wed, 09 Oct 2013 15:41:33 +0000</pubDate>
		<guid isPermaLink="false">http://undocumentedmatlab.com/?p=4212#comment-280071</guid>

					<description><![CDATA[[...] underlying Java control, thereby improving its appearance and functionality. My two previous articles on the Matlab editbox were a classic example of this mechanism. Unfortunately, this technique does [...]]]></description>
			<content:encoded><![CDATA[<p>[&#8230;] underlying Java control, thereby improving its appearance and functionality. My two previous articles on the Matlab editbox were a classic example of this mechanism. Unfortunately, this technique does [&#8230;]</p>
]]></content:encoded>
		
			</item>
	</channel>
</rss>
