<?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 : BUG with Label Markup on a UserControl</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : BUG with Label Markup on a UserControl]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 02:56:59 +0000</pubDate>
  <lastBuildDate>Tue, 23 Sep 2008 09:47:40 +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=12241</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[BUG with Label Markup on a UserControl : Also confirmed in 12.1.0 Beta. ...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12241&amp;PID=41330&amp;title=bug-with-label-markup-on-a-usercontrol#41330</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 12241<br /><strong>Posted:</strong> 23 September 2008 at 9:47am<br /><br />Also confirmed in 12.1.0 Beta.]]>
   </description>
   <pubDate>Tue, 23 Sep 2008 09:47:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12241&amp;PID=41330&amp;title=bug-with-label-markup-on-a-usercontrol#41330</guid>
  </item> 
  <item>
   <title><![CDATA[BUG with Label Markup on a UserControl : If you have a label on a usercontrol...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=12241&amp;PID=41314&amp;title=bug-with-label-markup-on-a-usercontrol#41314</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1200">Stilki</a><br /><strong>Subject:</strong> 12241<br /><strong>Posted:</strong> 23 September 2008 at 2:44am<br /><br /><P>If you have a label on a usercontrol with the Markup property set to true, the UserControl does not terminate when the hosting form is unloaded - and the hosting form is a secondary window from the Main applications window.</P><P>eg.<BR>Place a label on a usercontrol and set MarkUp to true.<BR>Set in code the markup properties:<BR>lblLabel1.MarkupContext.SetMethod Me, "Markup_Click"<BR>lblLabel1.Caption = "Mark up anything"</P><P>Place debug.print statements in the Initalize and Terminate events of the control.<BR>Private Sub UserControl_Terminate()&nbsp;&nbsp; <BR>&nbsp;&nbsp; Debug.Print "UserControl_Terminate"&nbsp;&nbsp; <BR>End Sub<BR>Private Sub UserControl_Initialize()<BR>&nbsp;&nbsp; Debug.Print "UserControl_Initialize"<BR>End Sub</P><P><BR>Place the usercontrol on a secondary form and open it from another form.<BR>Watch the immediate window in VB6 - The terminate statement does not get executed.</P><DIV>Below is a sample project in VB6 CJ v12.02 that demonstrates the bug.<BR><a href="https://forum.codejock.com/uploads/20080923_024249_MarkupLabelBugv.zip" target="_blank">uploads/20080923_024249_MarkupLabelBugv.zip</A></DIV>]]>
   </description>
   <pubDate>Tue, 23 Sep 2008 02:44:54 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=12241&amp;PID=41314&amp;title=bug-with-label-markup-on-a-usercontrol#41314</guid>
  </item> 
 </channel>
</rss>