<?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 : Property Grid Bug</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Property Grid : Property Grid Bug]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 05 Apr 2026 15:58:55 +0000</pubDate>
  <lastBuildDate>Sun, 07 Aug 2005 01:33:02 +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=2694</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[Property Grid Bug : Because AttachPane can be called...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2694&amp;PID=8031&amp;title=property-grid-bug#8031</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6851">Oleg</a><br /><strong>Subject:</strong> 2694<br /><strong>Posted:</strong> 07 August 2005 at 1:33am<br /><br /><P>Because AttachPane can be called after form_load event.</P><P>if you need to access frmPropertyGrid in form_load you can use your code, </P><P>&nbsp;</P><P>sub form_load()</P><P>load frmPropertyGrid</P><P>end sub</P><P>&nbsp;</P><P>...</P><P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Case ID_PANE_PROPERTIES:<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; If Not frmPropertyGrid Is Nothing Then<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Item.Handle = frmPropertyGrid.hwnd<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; End If<BR></P>]]>
   </description>
   <pubDate>Sun, 07 Aug 2005 01:33:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2694&amp;PID=8031&amp;title=property-grid-bug#8031</guid>
  </item> 
  <item>
   <title><![CDATA[Property Grid Bug : Forms attached using the DockingPaneManager_AttachPane...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=2694&amp;PID=8027&amp;title=property-grid-bug#8027</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1282">daliaessam</a><br /><strong>Subject:</strong> 2694<br /><strong>Posted:</strong> 06 August 2005 at 12:57pm<br /><br /><P>Forms attached using the DockingPaneManager_AttachPane procudeure are not accessable.</P><P>Example:</P><P>&nbsp;</P><P> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; If frmPropertyGrid Is Nothing Then<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set frmPropertyGrid = New frmPropertyGrid<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; End If<BR>Now if you try to access the frmPropertyGrid variable in your forms, it will not be seen as if it is not loaded in VB, the only solution is to load the form and show it early in the program before the attach is reached then refernce to teh form direct not through a new variable:</P><P>sub form_load()</P><P>load frmPropertyGrid</P><P>end sub</P><P>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Case ID_PANE_PROPERTIES:<BR>' &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; If frmPropertyGrid Is Nothing Then<BR>' &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Set frmPropertyGrid = New frmPropertyGrid<BR>' &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; End If<BR> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp; Item.Handle = frmPropertyGrid.hwnd<BR></P><P>Am I missing something</P>]]>
   </description>
   <pubDate>Sat, 06 Aug 2005 12:57:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=2694&amp;PID=8027&amp;title=property-grid-bug#8027</guid>
  </item> 
 </channel>
</rss>