<?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 : Consistently Adding TabControl Pages</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : Consistently Adding TabControl Pages]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 06:07:15 +0000</pubDate>
  <lastBuildDate>Tue, 06 Dec 2011 12:56:06 +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=19234</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[Consistently Adding TabControl Pages : Sorry, I did not realize.      However,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19234&amp;PID=67057&amp;title=consistently-adding-tabcontrol-pages#67057</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4669">gibra</a><br /><strong>Subject:</strong> 19234<br /><strong>Posted:</strong> 06 December 2011 at 12:56pm<br /><br /><SPAN id=result_ lang=en =short_text closure_uid_9yx432="154" a="undefined" c="4"><SPAN =hps closure_uid_9yx432="144">Sorry,</SPAN> <SPAN =hps closure_uid_9yx432="145">I did not realize. <img src="http://forum.codejock.com/smileys/smiley5.gif" height="17" width="17" border="0" alt="C&#111;nfused" title="C&#111;nfused" /><DIV></DIV><DIV></DIV><DIV></DIV><DIV>&nbsp;</DIV><DIV><SPAN =hps closure_uid_9yx432="1271" Rc="null">However, it is</SPAN> <SPAN =hps closure_uid_9yx432="1272" Rc="null">simple:</SPAN><BR closure_uid_9yx432="1292" Rc="null"><SPAN =hps closure_uid_9yx432="1273" Rc="null">-</SPAN> <SPAN =hps closure_uid_9yx432="1274" Rc="null">Select the</SPAN> <SPAN =hps closure_uid_9yx432="1275" Rc="null">TabPage</SPAN> <SPAN =hps closure_uid_9yx432="1276" Rc="null">from the toolbox</SPAN><BR closure_uid_9yx432="1293" Rc="null"><SPAN =hps closure_uid_9yx432="1277" Rc="null">-</SPAN> <SPAN =hps closure_uid_9yx432="1278" Rc="null">Click</SPAN> <SPAN =hps closure_uid_9yx432="1279" Rc="null">on the</SPAN> <SPAN =hps closure_uid_9yx432="1280" Rc="null">empty part</SPAN> <SPAN =hps closure_uid_9yx432="1281" Rc="null">of the TabControl</SPAN> <SPAN ="hps atn" closure_uid_9yx432="1282" Rc="null">(</SPAN><SPAN closure_uid_9yx432="1283" Rc="null">top right</SPAN><SPAN closure_uid_9yx432="1284" Rc="null">,</SPAN> <SPAN =hps closure_uid_9yx432="1285" Rc="null">to understand)</SPAN> <SPAN =hps closure_uid_9yx432="1286" Rc="null">and holding</SPAN> <SPAN =hps closure_uid_9yx432="1287" Rc="null">the left mouse button</SPAN> <SPAN =hps closure_uid_9yx432="1288" Rc="null">drag</SPAN> <SPAN =hps closure_uid_9yx432="1289" Rc="null">the mouse</SPAN></DIV><DIV><SPAN =hps closure_uid_9yx432="1289" Rc="null"></SPAN>&nbsp;</DIV><DIV><SPAN =hps closure_uid_9yx432="1289" Rc="null"></SPAN>&nbsp;</DIV></SPAN></SPAN>]]>
   </description>
   <pubDate>Tue, 06 Dec 2011 12:56:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19234&amp;PID=67057&amp;title=consistently-adding-tabcontrol-pages#67057</guid>
  </item> 
  <item>
   <title><![CDATA[Consistently Adding TabControl Pages : Hi Gibra,Thanks for the advice....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19234&amp;PID=67033&amp;title=consistently-adding-tabcontrol-pages#67033</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 19234<br /><strong>Posted:</strong> 05 December 2011 at 8:12am<br /><br />Hi Gibra,<br><br>Thanks for the advice. I actually meant in design-mode (dropping a TabControlPage on a TabControl with the mouse), but I wasn't clear about that, so my apologies.<br><br>In any case, perhaps it makes more sense to do it in code, if it is going to work consistently. I will give it a try.<br><br>Thanks again.<br>]]>
   </description>
   <pubDate>Mon, 05 Dec 2011 08:12:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19234&amp;PID=67033&amp;title=consistently-adding-tabcontrol-pages#67033</guid>
  </item> 
  <item>
   <title><![CDATA[Consistently Adding TabControl Pages : I hope this code work on SuitePro...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19234&amp;PID=66992&amp;title=consistently-adding-tabcontrol-pages#66992</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4669">gibra</a><br /><strong>Subject:</strong> 19234<br /><strong>Posted:</strong> 01 December 2011 at 1:26pm<br /><br />I hope this code work on SuitePro 15.1.3.]]>
   </description>
   <pubDate>Thu, 01 Dec 2011 13:26:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19234&amp;PID=66992&amp;title=consistently-adding-tabcontrol-pages#66992</guid>
  </item> 
  <item>
   <title><![CDATA[Consistently Adding TabControl Pages : - Create a new form - add a TabControl...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19234&amp;PID=66964&amp;title=consistently-adding-tabcontrol-pages#66964</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4669">gibra</a><br /><strong>Subject:</strong> 19234<br /><strong>Posted:</strong> 29 November 2011 at 5:47pm<br /><br /><DIV>- Create a new form</DIV><DIV>- add a TabControl (TabControl1)</DIV><DIV>- add a TabControlPage1, set <strong>Index = 0</strong></DIV><DIV>- into <strong>TabControlPage1(0)</strong> add a <strong>FlatEdit</strong> control, set <strong>Index=0</strong></DIV><DIV>- add a PushButton <strong>cmdAddTab</strong>&nbsp;, next &nbsp;include the code below:</DIV><DIV>&nbsp;</DIV><DIV><FONT face="Courier New, Courier, mono">Private Sub cmdAddTab_Click()<BR>&nbsp;&nbsp;&nbsp; Dim i As Long<BR>&nbsp;&nbsp;&nbsp; i = TabControl1.ItemCount<BR>&nbsp;&nbsp;&nbsp; Load TabControlPage1(i)<BR>&nbsp;&nbsp;&nbsp; Set TabControlPage1(i).Container = TabControl1<BR>&nbsp;&nbsp;&nbsp; TabControl1.InsertItem i, "TabControlPage" &amp; i + 1, TabControlPage1(i).hWnd, 0<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; <FONT color=#006600>' add a FlatEdit<BR></FONT>&nbsp;&nbsp;&nbsp; TabControl1.SelectedItem = i ' select last add tab<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; Load FlatEdit1(i)<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; Set FlatEdit1(i).Container = TabControlPage1(i)<BR>&nbsp;&nbsp;&nbsp; FlatEdit1(i).Visible = True<BR>&nbsp;&nbsp;&nbsp; FlatEdit1(i).Left = 360<BR>&nbsp;&nbsp;&nbsp; FlatEdit1(i).Top = 360<BR>&nbsp;&nbsp;&nbsp; FlatEdit1(i).Text = "FlatEdit1(" &amp; i &amp; ")"<BR>End Sub</FONT></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 29 Nov 2011 17:47:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19234&amp;PID=66964&amp;title=consistently-adding-tabcontrol-pages#66964</guid>
  </item> 
  <item>
   <title><![CDATA[Consistently Adding TabControl Pages : Does anybody have a method for...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19234&amp;PID=66933&amp;title=consistently-adding-tabcontrol-pages#66933</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 19234<br /><strong>Posted:</strong> 28 November 2011 at 10:16am<br /><br />Does anybody have a method for consistently adding tab control pages to the TabControl? <br><br>I've just spent 15 minutes trying to add a page, but it's not creating a new tab (the page just becomes part of the existing tab). When I manually bump the TabControl.ItemCount +1 then add a page to the new tab, it goes ahead and creates a new page, so I now have a blank tab in the middle.<br><br>I've had trouble with this before, but usually a few tries will force the behaviour I need. Anybody know any tricks to get this working consistently?<br><br>Thanks in advance.<br><br>]]>
   </description>
   <pubDate>Mon, 28 Nov 2011 10:16:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19234&amp;PID=66933&amp;title=consistently-adding-tabcontrol-pages#66933</guid>
  </item> 
 </channel>
</rss>