<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/168805</link>
    <title>MATLAB Central Newsreader - Displaying sub panels in GUI</title>
    <description>Feed for thread: Displaying sub panels in GUI</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 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.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Tue, 06 May 2008 12:28:05 -0400</pubDate>
      <title>Displaying sub panels in GUI</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/168805#430541</link>
      <author>Robin </author>
      <description>hi i am creating a GUI with three main panels. These panels &lt;br&gt;
are hidden underneath each other.&lt;br&gt;
Each panel has some subpanels.&lt;br&gt;
lets say three main panels are: 1 2 3&lt;br&gt;
and smaller subpanels 1.1 1.2 1.3 etc&lt;br&gt;
and so for second and third panel&lt;br&gt;
&lt;br&gt;
now i want to be on panel '2', and display sub panel 1.1 &lt;br&gt;
with other panel '2' contents.&lt;br&gt;
&lt;br&gt;
How and can I do that ?&lt;br&gt;
&lt;br&gt;
I can change the visibility of main panels but not able to &lt;br&gt;
do what i stated above.&lt;br&gt;
Van anyone help if it is possible&lt;br&gt;
&lt;br&gt;
Best regards&lt;br&gt;
&lt;br&gt;
GR</description>
    </item>
    <item>
      <pubDate>Tue, 06 May 2008 21:07:03 -0400</pubDate>
      <title>Re: Displaying sub panels in GUI</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/168805#430668</link>
      <author>roberson@ibd.nrc-cnrc.gc.ca (Walter Roberson)</author>
      <description>In article &amp;lt;fvpisk$jpf$1@fred.mathworks.com&amp;gt;,&lt;br&gt;
Robin  &amp;lt;grayalno.spam@u.washington.edu&amp;gt; wrote:&lt;br&gt;
&amp;gt;hi i am creating a GUI with three main panels. These panels &lt;br&gt;
&amp;gt;are hidden underneath each other.&lt;br&gt;
&amp;gt;Each panel has some subpanels.&lt;br&gt;
&amp;gt;lets say three main panels are: 1 2 3&lt;br&gt;
&amp;gt;and smaller subpanels 1.1 1.2 1.3 etc&lt;br&gt;
&amp;gt;and so for second and third panel&lt;br&gt;
&lt;br&gt;
&amp;gt;now i want to be on panel '2', and display sub panel 1.1 &lt;br&gt;
&amp;gt;with other panel '2' contents.&lt;br&gt;
&lt;br&gt;
&amp;gt;How and can I do that ?&lt;br&gt;
&lt;br&gt;
&amp;gt;I can change the visibility of main panels but not able to &lt;br&gt;
&amp;gt;do what i stated above.&lt;br&gt;
&lt;br&gt;
If you are talking about uipanel(), then a uipanel always hides everything&lt;br&gt;
&quot;behind&quot; it. Unless there is some mechanism at the Java level,&lt;br&gt;
there is no way to set a uipanel (or any portion of it) to be &lt;br&gt;
transparent.&lt;br&gt;
&lt;br&gt;
If you need to show a portion of a different panel, then you will&lt;br&gt;
either need to reparent the subpanel to be part of the current panel,&lt;br&gt;
or else you will need to copyobj() to make a copy of it into the current&lt;br&gt;
panel.&lt;br&gt;
-- &lt;br&gt;
&amp;nbsp;&amp;nbsp;&quot;Not the fruit of experience, but experience itself, is the end.&quot;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;-- Walter Pater</description>
    </item>
  </channel>
</rss>

