<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.de/matlabcentral/newsreader/view_thread/319610</link>
    <title>MATLAB Central Newsreader - Static text box</title>
    <description>Feed for thread: Static text box</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2013 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.de/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Sun, 29 Apr 2012 14:08:25 +0000</pubDate>
      <title>Static text box</title>
      <link>http://www.mathworks.de/matlabcentral/newsreader/view_thread/319610#875246</link>
      <author>Sabu</author>
      <description>Hi ALl,&lt;br&gt;
&lt;br&gt;
I am very new in this topic. used to do programming with .Net languages but don't know anything about Matlab. &lt;br&gt;
I have created a form with one push button and a text bod. I wanna hide text box when pushbutton is pressed. but this doesn't work "set(text2,'Visible','off');&lt;br&gt;
text2 is the tag of text box. could you tell me what should be changed here? should I actually use the 'tag' as a reference to the object?&lt;br&gt;
&lt;br&gt;
thanx</description>
    </item>
    <item>
      <pubDate>Mon, 30 Apr 2012 15:00:19 +0000</pubDate>
      <title>Re: Static text box</title>
      <link>http://www.mathworks.de/matlabcentral/newsreader/view_thread/319610#875360</link>
      <author>Steven_Lord</author>
      <description>&lt;br&gt;
&lt;br&gt;
"Sabu" &amp;lt;afshanj@gmail.com&amp;gt; wrote in message &lt;br&gt;
news:21447460.1890.1335708505375.JavaMail.geo-discussion-forums@ynen8...&lt;br&gt;
&amp;gt; Hi ALl,&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; I am very new in this topic. used to do programming with .Net languages &lt;br&gt;
&amp;gt; but don't know anything about Matlab.&lt;br&gt;
&amp;gt; I have created a form with one push button and a text bod. I wanna hide &lt;br&gt;
&amp;gt; text box when pushbutton is pressed. but this doesn't work &lt;br&gt;
&amp;gt; "set(text2,'Visible','off');&lt;br&gt;
&amp;gt; text2 is the tag of text box. could you tell me what should be changed &lt;br&gt;
&amp;gt; here? should I actually use the 'tag' as a reference to the object?&lt;br&gt;
&lt;br&gt;
The SET function expects its first input to be the _handle_ of the object &lt;br&gt;
whose property you want to set, not the _Tag_ of that object. If you're &lt;br&gt;
using GUIDE to create your GUI, the handles structure that MATLAB &lt;br&gt;
automatically passes into the callback function should contain the handle of &lt;br&gt;
this object in a field named text2.&lt;br&gt;
&lt;br&gt;
set(handles.text2, 'Visible', 'off')&lt;br&gt;
&lt;br&gt;
-- &lt;br&gt;
Steve Lord&lt;br&gt;
slord@mathworks.com&lt;br&gt;
To contact Technical Support use the Contact Us link on &lt;br&gt;
&lt;a href="http://www.mathworks.com"&gt;http://www.mathworks.com&lt;/a&gt; </description>
    </item>
  </channel>
</rss>
