<?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 : [SOLVED] GroupBox breaking CausesValidation</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : [SOLVED] GroupBox breaking CausesValidation]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 04:21:37 +0000</pubDate>
  <lastBuildDate>Sun, 05 Feb 2012 03:02:00 +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=19248</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[[SOLVED] GroupBox breaking CausesValidation : Hi,this has been fixed for the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19248&amp;PID=67555&amp;title=solved-groupbox-breaking-causesvalidation#67555</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1755">ABuenger</a><br /><strong>Subject:</strong> 19248<br /><strong>Posted:</strong> 05 February 2012 at 3:02am<br /><br />Hi,<br><br>this has been fixed for the next release.<br><br>Andre<br><br>]]>
   </description>
   <pubDate>Sun, 05 Feb 2012 03:02:00 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19248&amp;PID=67555&amp;title=solved-groupbox-breaking-causesvalidation#67555</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] GroupBox breaking CausesValidation : Comes back to a similar issue...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19248&amp;PID=67543&amp;title=solved-groupbox-breaking-causesvalidation#67543</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6296">Hemesh</a><br /><strong>Subject:</strong> 19248<br /><strong>Posted:</strong> 03 February 2012 at 5:55am<br /><br />Comes back to a similar issue I had with the CommandBars and custom codejock controls being placed on there.. they didn't work, but standard vb6 ones did!]]>
   </description>
   <pubDate>Fri, 03 Feb 2012 05:55:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19248&amp;PID=67543&amp;title=solved-groupbox-breaking-causesvalidation#67543</guid>
  </item> 
  <item>
   <title><![CDATA[[SOLVED] GroupBox breaking CausesValidation :     Hi,I have an issue where...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19248&amp;PID=66974&amp;title=solved-groupbox-breaking-causesvalidation#66974</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7217">daveb600Codejock</a><br /><strong>Subject:</strong> 19248<br /><strong>Posted:</strong> 30 November 2011 at 11:07am<br /><br />Hi,<div><br></div><div>I have an issue where my custom user control, when placed on a group box, does not apply its validate event correctly (i.e. cancel = True to stop focus move). &nbsp;When the control is placed on a frame or on the form it validates correctly.</div><div><br></div><div>I'm using version 13.4.2 but have tried it on 15.0.2.</div><div><br></div><div>The issue only manifests itself when the control is on a GroupBox AND the button is a PushButton. If either or both are standard VB6 controls then there is no issue.</div><div><br></div><div>The event order when the frame is a VB6 frame and button is standard or codejock is&nbsp;</div><blockquote style="margin: 0 0 0 40px; border: n&#111;ne; padding: 0px;"><div><font ="apple-style-span"="" size="1">TestControlFrame: UserControl_EnterFocus</font></div><div><font ="apple-style-span"="" size="1">TestControlFrame: txtData_GotFocus</font></div><div><div><font ="apple-style-span"="" size="1">TestControlFrame: txtData_Validate</font></div></div></blockquote><div><div><br></div><div>But the event order when the frame is codejock and the button is standard or codejock is</div></div><blockquote style="margin: 0 0 0 40px; border: n&#111;ne; padding: 0px;"><div><div><div><span ="apple-style-span"="" style="line-height: 14px; font-size: x-small; ">TestControlGroupBox: UserControl_EnterFocus</span></div><div><span ="apple-style-span"="" style="line-height: 14px; font-size: x-small; ">TestControlGroupBox: txtData_GotFocus</span></div><div><span ="apple-style-span"="" style="line-height: 14px; font-size: x-small; ">TestControlGroupBox: txtData_LostFocus</span></div><div><span ="apple-style-span"="" style="line-height: 14px; font-size: x-small; ">TestControlGroupBox: UserControl_ExitFocus</span></div><div><span ="apple-style-span"="" style="line-height: 14px; font-size: x-small; ">TestControlGroupBox: txtData_Validate</span></div><div><span ="apple-style-span"="" style="line-height: 14px; font-size: x-small; ">TestControlGroupBox: UserControl_EnterFocus</span></div><div><font ="apple-style-span"="" size="1">TestControlGroupBox: txtData_GotFocus</font></div></div></div></blockquote><div><div>The difference with this one however is that the codejock push button will execute the VB6 one will not.</div></div><div><br></div><div>I think that it is something to do with the CausesValidation property. &nbsp;Its like the group box is killing it.</div><div><br></div><div>I cannot use the standard VB6 frame however as the codejock group box fixes an&nbsp;intermittent paint&nbsp;issue when clicking on a frame and custom controls&nbsp;disappearing. &nbsp;I also cannot replace the buttons as they all have icons now.</div><div><br></div><div>I've attached a very simple example of this in action.&nbsp;<a href="uploads/7217/C&#111;ntrolValidati&#111;nIssue.zip" target="_blank">uploads/7217/ControlValidationIssue.zip</a></div><div>Note. Do not click between the user controls as this will get stuck in a validation loop.</div><div>Note. The user control and app must be compiled (and run using this) to correctly highlight the issue.</div><div><br></div><div>I've tried placing the button in a frame, groupBox and pictureBox but this had no effect. I also tried placing the usercontrol text box which does the validation in a&nbsp;frame, groupBox and pictureBox as well.</div><div><br></div><div>Has anyone got any ideas? &nbsp;</div><div><br></div><div>This is for an app where a custom user control is used to force correct selection of data. We're starting to get lots of issues on our support desk where users have managed to enter invalid data because of this. &nbsp;Its taken me three days to figure this out so&nbsp;I'd&nbsp;take any solution at the moment :o) &nbsp;(Other than replace all the pushButtons / GroupBoxs)</div><div><br></div>]]>
   </description>
   <pubDate>Wed, 30 Nov 2011 11:07:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19248&amp;PID=66974&amp;title=solved-groupbox-breaking-causesvalidation#66974</guid>
  </item> 
 </channel>
</rss>