<?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 : lost focus event from a user control</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : lost focus event from a user control]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 28 Apr 2026 23:43:36 +0000</pubDate>
  <lastBuildDate>Thu, 04 Jan 2007 07:43:10 +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=5968</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[lost focus event from a user control : Hi   Thanks again for the reply. I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5968&amp;PID=18801&amp;title=lost-focus-event-from-a-user-control#18801</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2604">tomamoss</a><br /><strong>Subject:</strong> 5968<br /><strong>Posted:</strong> 04 January 2007 at 7:43am<br /><br /><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman">Hi <?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman">&nbsp;<o:p></o:p></FONT></FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman">Thanks again for the reply.<o:p></o:p></FONT></FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman">I did try the example, but have run into a problem.<o:p></o:p></FONT></FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman">I need to verify that data entered into a form is correct before the focus is moved from a form that’s located with in a pane.<o:p></o:p></FONT></FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman">&nbsp;<o:p></o:p></FONT></FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" size=3>If I use the example you give and call a procedure with in my existing form to verify, and this displays a message box warning the user of a data problem the app will crash. no error just crashes.</FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" size=3>I call the procedure from with in the DockingPaneManager_Action event.</FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman">&nbsp;<o:p></o:p></FONT></FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" size=3>Is there a problem with lost focus events with the DockingPane ocx, as it works twice just fine and the just swallows any further events.</FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman">&nbsp;<o:p></o:p></FONT></FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman">&nbsp;<o:p></o:p></FONT></FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" size=3>Thanks for your time on this.</FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman">&nbsp;<o:p></o:p></FONT></FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT face="Times New Roman" size=3>Kind Regards</FONT></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><FONT size=3><FONT face="Times New Roman">&nbsp;<o:p></o:p></FONT></FONT></P><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-GB; mso-fareast-: EN-US; mso-bidi-: AR-SA">Mark</SPAN>]]>
   </description>
   <pubDate>Thu, 04 Jan 2007 07:43:10 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5968&amp;PID=18801&amp;title=lost-focus-event-from-a-user-control#18801</guid>
  </item> 
  <item>
   <title><![CDATA[lost focus event from a user control : Hi,  Here code you can try:  Private...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5968&amp;PID=18797&amp;title=lost-focus-event-from-a-user-control#18797</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 5968<br /><strong>Posted:</strong> 04 January 2007 at 6:06am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Here code you can try:</DIV><DIV>&nbsp;</DIV><DIV>Private Sub DockingPaneManager_Action(ByVal Action As XtremeDockingPane.DockingPaneAction, ByVal Pane As XtremeDockingPane.IPane, ByVal Container As XtremeDockingPane.IPaneActionContainer, Cancel As Boolean)<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; If (Action = PaneActionActivated) Then Debug.Print Pane.Title; " Activated"<BR>&nbsp;&nbsp;&nbsp; If (Action = PaneActionDeactivated) Then Debug.Print Pane.Title; " Deactivated"</DIV><DIV>End Sub</DIV>]]>
   </description>
   <pubDate>Thu, 04 Jan 2007 06:06:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5968&amp;PID=18797&amp;title=lost-focus-event-from-a-user-control#18797</guid>
  </item> 
  <item>
   <title><![CDATA[lost focus event from a user control : Hi   Thanks for replying.  There...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5968&amp;PID=18788&amp;title=lost-focus-event-from-a-user-control#18788</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2604">tomamoss</a><br /><strong>Subject:</strong> 5968<br /><strong>Posted:</strong> 04 January 2007 at 3:32am<br /><br /><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana; mso-ansi-: EN">Hi</P><DIV>&nbsp;</DIV><DIV><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"></SPAN><SPAN lang=EN style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana; mso-fareast-font-family: 'Arial Unicode MS'; mso-ansi-: EN; mso-bidi-font-family: 'Arial Unicode MS'"><?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P><SPAN lang=EN style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana; mso-ansi-: EN">Thanks for replying.</SPAN></DIV><DIV><SPAN lang=EN style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana; mso-ansi-: EN"><o:p></o:p></SPAN>&nbsp;</DIV><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana; mso-ansi-: EN">There is no Deactivate event for a user contol. But there is for the form the user contol sits on.<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana; mso-ansi-: EN">In your sample example its the frmPane Deactivate event.<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana; mso-ansi-: EN">howerver this suffers from the same problem, in that it only fires twice and then no more.<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana; mso-ansi-: EN">&nbsp;<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana; mso-ansi-: EN">Your help in this matter would be greatly welcome.<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana; mso-ansi-: EN">&nbsp;<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana; mso-ansi-: EN">Thanks<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana; mso-ansi-: EN">&nbsp;<o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN lang=EN style="FONT-SIZE: 9pt; COLOR: black; FONT-FAMILY: Verdana; mso-ansi-: EN">Mark<o:p></o:p></SPAN></P>]]>
   </description>
   <pubDate>Thu, 04 Jan 2007 03:32:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5968&amp;PID=18788&amp;title=lost-focus-event-from-a-user-control#18788</guid>
  </item> 
  <item>
   <title><![CDATA[lost focus event from a user control : Hello, You can use Activate and...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5968&amp;PID=18755&amp;title=lost-focus-event-from-a-user-control#18755</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 5968<br /><strong>Posted:</strong> 03 January 2007 at 2:04am<br /><br />Hello,<DIV>You can use Activate and Deactivate actions instead.</DIV>]]>
   </description>
   <pubDate>Wed, 03 Jan 2007 02:04:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5968&amp;PID=18755&amp;title=lost-focus-event-from-a-user-control#18755</guid>
  </item> 
  <item>
   <title><![CDATA[lost focus event from a user control : Hi I am losing the lost focus...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5968&amp;PID=18753&amp;title=lost-focus-event-from-a-user-control#18753</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2604">tomamoss</a><br /><strong>Subject:</strong> 5968<br /><strong>Posted:</strong> 03 January 2007 at 1:55am<br /><br /><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><FONT face="Times New Roman" size=3>Hi</FONT></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><FONT face="Times New Roman" size=3>I am losing the lost focus event from a user control.</FONT></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><FONT face="Times New Roman" size=3>To demonstrate I took your sample SDISample.vbp and replaced the </FONT></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><FONT face="Times New Roman" size=3>TxtContent control with just a simple user control with a textbox in it.</FONT></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><FONT size=3><FONT face="Times New Roman">&nbsp;<?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><?:NAMESPACE PREFIX = O /><O:P></O:P></FONT></FONT></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><FONT face="Times New Roman" size=3>If you trap the lost focus event you will see that it will fire the first and second time you leave the control, but from then on no events at all.</FONT></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><FONT size=3><FONT face="Times New Roman">&nbsp;<O:P></O:P></FONT></FONT></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><FONT face="Times New Roman" size=3>Any help would be most welcome</FONT></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><FONT size=3><FONT face="Times New Roman">&nbsp;<O:P></O:P></FONT></FONT></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><FONT face="Times New Roman" size=3>Thanks and kind regards</FONT></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><FONT size=3><FONT face="Times New Roman">&nbsp;<O:P></O:P></FONT></FONT></P><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: 'Times New Roman'; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-GB; mso-fareast-: EN-US; mso-bidi-: AR-SA">Tom</SPAN> ]]>
   </description>
   <pubDate>Wed, 03 Jan 2007 01:55:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5968&amp;PID=18753&amp;title=lost-focus-event-from-a-user-control#18753</guid>
  </item> 
 </channel>
</rss>