<?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 : Closing Tabs on Tabcontrol</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Suite Pro : Closing Tabs on Tabcontrol]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 21 Apr 2026 09:29:48 +0000</pubDate>
  <lastBuildDate>Fri, 31 Oct 2008 20:56:26 +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=12546</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[Closing Tabs on Tabcontrol : Have you tried this in the main...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12546&amp;PID=42550&amp;title=closing-tabs-on-tabcontrol#42550</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3253">Mr.Den</a><br /><strong>Subject:</strong> 12546<br /><strong>Posted:</strong> 31 October 2008 at 8:56pm<br /><br />Have you tried this in the main form's form_queryunload sub:<DIV>&nbsp;</DIV><DIV>dim iCtr as integer</DIV><DIV>&nbsp;</DIV><DIV>for iCtr = Forms.count -1 To 0 Step -1</DIV><DIV>&nbsp;&nbsp;&nbsp; Unload Forms(iCtr)</DIV><DIV>Next iCtr</DIV>]]>
   </description>
   <pubDate>Fri, 31 Oct 2008 20:56:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12546&amp;PID=42550&amp;title=closing-tabs-on-tabcontrol#42550</guid>
  </item> 
  <item>
   <title><![CDATA[Closing Tabs on Tabcontrol : Can you show me an example? In...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12546&amp;PID=42416&amp;title=closing-tabs-on-tabcontrol#42416</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1010">nando_uy</a><br /><strong>Subject:</strong> 12546<br /><strong>Posted:</strong> 28 October 2008 at 5:05am<br /><br /><P>Can you show me an example?</P><P>In your Docking Pane sample folder, there's something like you suggest me. So I can't figure how can I implements this for my specific case, because I haven't an form array.</P><DIV>And, I need to remove all the instances of pageReport</DIV><DIV>Any Example?</DIV><DIV>&nbsp;</DIV><DIV>Many, many thanks Oleg, you're the man!</DIV>]]>
   </description>
   <pubDate>Tue, 28 Oct 2008 05:05:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12546&amp;PID=42416&amp;title=closing-tabs-on-tabcontrol#42416</guid>
  </item> 
  <item>
   <title><![CDATA[Closing Tabs on Tabcontrol : Hi, Move pageReport as form variable...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12546&amp;PID=42410&amp;title=closing-tabs-on-tabcontrol#42410</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 12546<br /><strong>Posted:</strong> 28 October 2008 at 3:10am<br /><br />Hi,<DIV>Move pageReport&nbsp; as form variable and in Unload event add</DIV><DIV>Unload pageReport </DIV>]]>
   </description>
   <pubDate>Tue, 28 Oct 2008 03:10:17 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12546&amp;PID=42410&amp;title=closing-tabs-on-tabcontrol#42410</guid>
  </item> 
  <item>
   <title><![CDATA[Closing Tabs on Tabcontrol : I have a Tabcontrol with no tabs...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12546&amp;PID=42406&amp;title=closing-tabs-on-tabcontrol#42406</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1010">nando_uy</a><br /><strong>Subject:</strong> 12546<br /><strong>Posted:</strong> 27 October 2008 at 11:12pm<br /><br /><P>I have a Tabcontrol with no tabs at all. They create at runtime attaching forms at these newly created tabs.</P><DIV>IE: </DIV><DIV>Private Sub NewReport()<BR>Set pageReport = New frmReport<BR>l_Index = TabControl.ItemCount<BR>Set oTabItem = TabControl.InsertItem(l_Index + 1,"Report", pageReport.hwnd, 0)</DIV><DIV>TabControl.Item(l_Index).Selected = True<BR>End Sub</DIV><DIV>&nbsp;</DIV><DIV>How can I close /destroy/unload all the instances of pageReports before unload the form?</DIV><DIV>The app not ended if don't!!!</DIV><DIV>Or, directly CRASH?</DIV><DIV>Any help??? <img src="https://forum.codejock.com/smileys/smiley19.gif" border="0"></DIV>]]>
   </description>
   <pubDate>Mon, 27 Oct 2008 23:12:16 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12546&amp;PID=42406&amp;title=closing-tabs-on-tabcontrol#42406</guid>
  </item> 
 </channel>
</rss>