<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="https://syndication.webwiz.net/rss_namespace/">
 <channel>
  <title>Codejock Developer Community : Tab Control -- visible confusion</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : Tab Control -- visible confusion]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 17:32:15 +0000</pubDate>
  <lastBuildDate>Mon, 30 Nov 2009 17:32:21 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 12.04</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>forum.codejock.com/RSS_post_feed.asp?TID=15739</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Codejock Developer Community]]></title>
   <url>http://forum.codejock.com/forum_images/codejock-logo.gif</url>
   <link>http://forum.codejock.com/</link>
  </image>
  <item>
   <title><![CDATA[Tab Control -- visible confusion : Many thanks. That was a very helpful...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15739&amp;PID=55290&amp;title=tab-control-visible-confusion#55290</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4225">chrisABC</a><br /><strong>Subject:</strong> 15739<br /><strong>Posted:</strong> 30 November 2009 at 5:32pm<br /><br />Many thanks. That was a very helpful answer.<br><br>]]>
   </description>
   <pubDate>Mon, 30 Nov 2009 17:32:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15739&amp;PID=55290&amp;title=tab-control-visible-confusion#55290</guid>
  </item> 
  <item>
   <title><![CDATA[Tab Control -- visible confusion : TabControl isn&amp;#039;t a TRUE container...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15739&amp;PID=55253&amp;title=tab-control-visible-confusion#55253</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4669">gibra</a><br /><strong>Subject:</strong> 15739<br /><strong>Posted:</strong> 28 November 2009 at 6:37pm<br /><br />TabControl isn't a TRUE container (like as&nbsp;TabStrip control) therefore, when you&nbsp;activate a different tab, controls will move to negative position<DIV>, to simulate Tab page behavior. Also, TabControl must set Visible=False to skip Tab key action, otherwise the user don't see really what control has Focus.</DIV><DIV>&nbsp;</DIV><DIV>It's <U>much better</U> to use a TabPage as container ( for each Tab ) so TabControl must move only one control at time (TabPage) instead to move all controls for this Tab. This improve performances, of course.</DIV><DIV>&nbsp;</DIV><DIV>In this way you avoid problem with Visible property, because TabControl set Visible=False <U>only for TabPage</U>,&nbsp;NOT for controls contained, so you can set control propreties as you want.</DIV><DIV>&nbsp;</DIV><DIV><img src="http://forum.codejock.com/smileys/smiley2.gif" border="0"></DIV>]]>
   </description>
   <pubDate>Sat, 28 Nov 2009 18:37:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15739&amp;PID=55253&amp;title=tab-control-visible-confusion#55253</guid>
  </item> 
  <item>
   <title><![CDATA[Tab Control -- visible confusion : I am using the Tab Control and...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=15739&amp;PID=55248&amp;title=tab-control-visible-confusion#55248</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4225">chrisABC</a><br /><strong>Subject:</strong> 15739<br /><strong>Posted:</strong> 28 November 2009 at 6:57am<br /><br />I am using the Tab Control and getting unexpected results, so I have worked out what is happening. <br><br>If I put controls (eg textbox or label) onto a Tab Control (not using the separate TabPage control),<br>then when I switch to a different Tab page those controls are not visible (as expected).<br><br>If I read the .LEFT of those controls I find they have changed to&nbsp; .Left - 70000.<br>ie the Tab control has hidden them off screen by altering the .Left position.<br>That's OK (though I wish I'd known about it).<br><br>Problem is when I set one of those controls to&nbsp; .Visible = False&nbsp; when I am on a different Tab page.<br>When I change to the Tab page where the control is located, the Tab control makes the control visible again. <br>If I read the .Visible it has been changed to True.<br><br>Another problem. If I put a Line control on a Tab page, this remains visible on ALL the Tab Pages.<br>(I guess this is because the Line doesn't have a .Left property, so Tab cannot hide it).<br><br><br>I am sure I can find workarounds for all these little quirks, but first I am asking you if there is some common easy answer that I have missed. What do YOU do about these problems (or am I the only one to have noticed :-)<br>&nbsp;<br><br><br><br>]]>
   </description>
   <pubDate>Sat, 28 Nov 2009 06:57:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=15739&amp;PID=55248&amp;title=tab-control-visible-confusion#55248</guid>
  </item> 
 </channel>
</rss>