<?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 : Change Tab as container</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Suite Pro : Change Tab as container]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Mon, 20 Apr 2026 18:24:36 +0000</pubDate>
  <lastBuildDate>Sat, 27 Jan 2018 11:03: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=23550</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[Change Tab as container : I answer myself. I have discovered...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23550&amp;PID=76528&amp;title=change-tab-as-container#76528</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4669">gibra</a><br /><strong>Subject:</strong> 23550<br /><strong>Posted:</strong> 27 January 2018 at 11:03am<br /><br />I answer myself. <img src="http://forum.codejock.com/smileys/smiley2.gif" border="0" alt="Wink" title="Wink" /><br><br>I have discovered that also the Codejock TabControl behaves like all the other 'tabbed' controls (SSTab and TabStrip) that is: <br>when you select a tab moves the controls that belong to the other tabs.<br><br>In my case, I want to display the same TDBGrid control on each tabs, I simply do this:<br><br><font face="Courier New, Courier, mono">Dim m_GridLeft As Long<br><br>Private Sub Form_Load()<br>&nbsp;&nbsp;&nbsp; m_GridLeft = TDBGrid1.Left<br>&nbsp;&nbsp;&nbsp; TabControl1.Item(0).Selected = True<br>End Sub<br><br>Private Sub TabControl1_SelectedChanged(ByVal Item As XtremeSuiteControls.ITabControlItem)<br>&nbsp;&nbsp;&nbsp; TDBGrid1.Left = m_GridLeft<br>&nbsp;&nbsp;&nbsp; TDBGrid1.Visible = True<br>&nbsp;&nbsp;&nbsp; TDBGrid1.ZOrder<br>End Sub</font><br><br>HTH<br><img src="http://forum.codejock.com/smileys/smiley1.gif" border="0" alt="Smile" title="Smile" /><br>]]>
   </description>
   <pubDate>Sat, 27 Jan 2018 11:03:06 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23550&amp;PID=76528&amp;title=change-tab-as-container#76528</guid>
  </item> 
  <item>
   <title><![CDATA[Change Tab as container : I know that we can use InserItem...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=23550&amp;PID=76525&amp;title=change-tab-as-container#76525</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4669">gibra</a><br /><strong>Subject:</strong> 23550<br /><strong>Posted:</strong> 26 January 2018 at 11:25am<br /><br />I know that we can use InserItem to set the inserted tab in a new tab.<br><br>Instead I can't find a method <u>to move</u> a grid (TDBGrid) control between different existings tab.<br><br>Example: I have a TabControl1 with three tabs (with no TabPage) and a grid on first tab (0).<br>when I select a different tab (1 or 2) I want to move the grid on new selected tab.<br><br>I tried this, but get Out of memory error:<br><br><font face="Courier New, Courier, mono">Private Sub TabControl1_BeforeItemClick(ByVal Item As XtremeSuiteControls.ITabControlItem, Cancel As Variant)<br>&nbsp;&nbsp;&nbsp; Dim curTab As TabControlItem<br>&nbsp;&nbsp;&nbsp; Set curTab = Item<br>&nbsp;&nbsp;&nbsp; Set TDBGrid1.Container = curTab&nbsp;&nbsp;&nbsp; '&lt;- Error 7 - Out of memory<br>End Sub<br></font><br>How to?<br>SuiteControl 15.3.1<br>]]>
   </description>
   <pubDate>Fri, 26 Jan 2018 11:25:38 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=23550&amp;PID=76525&amp;title=change-tab-as-container#76525</guid>
  </item> 
 </channel>
</rss>