<?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 : Updating c&#111;ntrols &#111;n a different &#102;orm</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Docking Pane : Updating c&#111;ntrols &#111;n a different &#102;orm]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 28 Apr 2026 13:32:50 +0000</pubDate>
  <lastBuildDate>Wed, 23 Jun 2004 16:02:51 +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=881</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[Updating c&#111;ntrols &#111;n a different &#102;orm : User Error  I had forgotten I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=881&amp;PID=2317&amp;title=updating-controls-on-a-different-form#2317</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=566">Maui</a><br /><strong>Subject:</strong> 881<br /><strong>Posted:</strong> 23 June 2004 at 4:02pm<br /><br /><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">User Error <IMG src="http://forum.codejock.com/smileys/smiley5.gif" border="0"></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">I had forgotten I was&nbsp;working with an instance of&nbsp;the form and not the form itself.</SPAN></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Time for me to rename my variables I think so I dont do this again.</SPAN></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"></SPAN></SPAN>&nbsp;</P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Thank you for your help.</SPAN></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"></SPAN>&nbsp;</P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Public frmPanePreview As formPreview</SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"></SPAN>&nbsp;</P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">I had this :</SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">formPreview.Text1.Text = Now&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">Now I have this:</SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"></SPAN><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">frmPanePreview.Text1.Text = Now&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN></P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"></SPAN>&nbsp;</P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"></SPAN><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"></SPAN>&nbsp;</P><P =Ms&#111;normal style="MARGIN: 0cm 0cm 0pt"><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"></SPAN>&nbsp;</P>]]>
   </description>
   <pubDate>Wed, 23 Jun 2004 16:02:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=881&amp;PID=2317&amp;title=updating-controls-on-a-different-form#2317</guid>
  </item> 
  <item>
   <title><![CDATA[Updating c&#111;ntrols &#111;n a different &#102;orm : formPreview is nothing I guess....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=881&amp;PID=2314&amp;title=updating-controls-on-a-different-form#2314</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 881<br /><strong>Posted:</strong> 23 June 2004 at 1:20pm<br /><br />formPreview is nothing I guess. You must use the form you attached to docking pane.]]>
   </description>
   <pubDate>Wed, 23 Jun 2004 13:20:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=881&amp;PID=2314&amp;title=updating-controls-on-a-different-form#2314</guid>
  </item> 
  <item>
   <title><![CDATA[Updating c&#111;ntrols &#111;n a different &#102;orm : I am having a problem updating...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=881&amp;PID=2307&amp;title=updating-controls-on-a-different-form#2307</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=566">Maui</a><br /><strong>Subject:</strong> 881<br /><strong>Posted:</strong> 23 June 2004 at 5:23am<br /><br /><P>I am having a problem updating controls on a different form.</P><P>In my application I have a central form which contains items. The idea is that when you click on one of the items in the main form the docked windows will all update showing their respective data about the item you click on.</P><P>Here is an example of what I mean. This Sub has no result and I would expect it to update&nbsp; label1 on the preview form with the word test.</P><P>Private Sub Command1_Click()<BR>&nbsp;&nbsp;&nbsp; formPreview.Label1 = "TEST"<BR>&nbsp;&nbsp;&nbsp; formPreview.Label1.Refresh<BR>End Sub</P><P>I tried making the sub on the child window and then doing the call like this but it causes the program to crash.</P><P>Private Sub Command1_Click()<BR>&nbsp;&nbsp;&nbsp; formPreview.UpdateLabel<BR>End Sub</P><P>Any help appreciated.</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Wed, 23 Jun 2004 05:23:03 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=881&amp;PID=2307&amp;title=updating-controls-on-a-different-form#2307</guid>
  </item> 
 </channel>
</rss>