<?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 : Propertygrid refresh in a pane</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Property Grid : Propertygrid refresh in a pane]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 05 Apr 2026 16:00:12 +0000</pubDate>
  <lastBuildDate>Thu, 21 May 2009 01:55:08 +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=13666</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[Propertygrid refresh in a pane : Good Job  ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13666&amp;PID=49229&amp;title=propertygrid-refresh-in-a-pane#49229</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5251">aridheva</a><br /><strong>Subject:</strong> 13666<br /><strong>Posted:</strong> 21 May 2009 at 1:55am<br /><br /><img src="http://forum.codejock.com/smileys/smiley32.gif" border="0" align="absmiddle"><img src="http://forum.codejock.com/smileys/smiley32.gif" border="0" align="absmiddle"><br><br>Good Job<br><br>]]>
   </description>
   <pubDate>Thu, 21 May 2009 01:55:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13666&amp;PID=49229&amp;title=propertygrid-refresh-in-a-pane#49229</guid>
  </item> 
  <item>
   <title><![CDATA[Propertygrid refresh in a pane : Yeap!It work, Aaron! I have removed...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13666&amp;PID=46697&amp;title=propertygrid-refresh-in-a-pane#46697</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5052">ideafix</a><br /><strong>Subject:</strong> 13666<br /><strong>Posted:</strong> 14 March 2009 at 4:34pm<br /><br />Yeap!<br><br>It work, Aaron! I have removed the code.<br><br>Finally it works!<br><br>Thanks a lot!<br><br>Ricardo<br>]]>
   </description>
   <pubDate>Sat, 14 Mar 2009 16:34:26 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13666&amp;PID=46697&amp;title=propertygrid-refresh-in-a-pane#46697</guid>
  </item> 
  <item>
   <title><![CDATA[Propertygrid refresh in a pane : Hi,  Form frmPropertyGrid is...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13666&amp;PID=46687&amp;title=propertygrid-refresh-in-a-pane#46687</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 13666<br /><strong>Posted:</strong> 14 March 2009 at 11:12am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Form frmPropertyGrid is created (in DockingPanes attach event) as a <strong>new</strong> instance. It seems you can't have a reference to that form with MDI. You can make frmPropertyGrid public but you get an error: <strong>Only one MDI form allowed.&nbsp; </strong></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>This will work with MDI, just test it and:</DIV><OL><LI>Remove <strong>Dim frmPropertyGrid As frmPropertyGrid </strong>global variable<strong> </strong>in frmMain</LI><LI>In DockingPaneManager_AttachPane event:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Case ID_PANE_PROPERTIES:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <STRIKE>If frmPropertyGrid Is Nothing Then</STRIKE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <STRIKE>Set frmPropertyGrid = frmPropertyGrid</STRIKE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <STRIKE>End If</STRIKE><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Item.Handle = frmPropertyGrid.hwnd</LI></OL><DIV>I don't know how to get around this in MDI... I have simular code with SDI and I can make calls in other forms. I don't know why I can't with MDI, maybe you know..... why?</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Sat, 14 Mar 2009 11:12:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13666&amp;PID=46687&amp;title=propertygrid-refresh-in-a-pane#46687</guid>
  </item> 
  <item>
   <title><![CDATA[Propertygrid refresh in a pane : Hi AaronThe code is very simple!I...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13666&amp;PID=46630&amp;title=propertygrid-refresh-in-a-pane#46630</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5052">ideafix</a><br /><strong>Subject:</strong> 13666<br /><strong>Posted:</strong> 13 March 2009 at 9:41am<br /><br /><P>Hi Aaron<BR><BR>The code is very simple!<BR><BR>I have been using the example of GUISample.vbp.</P><DIV></DIV><DIV>I have created a public function that updates de property grid...</DIV><DIV>&nbsp;</DIV><DIV>This code is in frmpropertygrid </DIV><DIV>&nbsp;</DIV><DIV>Public Sub CarregaGrelhaDados(ByVal strNomeTabela As String, Optional ByVal strDados As Variant)</DIV><DIV>Dim category As PropertyGridItem<BR>Dim item As PropertyGridItem</DIV><DIV>&nbsp;</DIV><DIV>&nbsp; frmPropertyGrid.wndPropertyGrid.ToolTipContext.Style = xtpToolTipLuna<BR>&nbsp; frmPropertyGrid.wndPropertyGrid.ShowInplaceButtonsAlways = False<BR>&nbsp; frmPropertyGrid.wndPropertyGrid.Categories.Clear<BR>&nbsp;&nbsp;<BR>&nbsp; Set category = frmPropertyGrid.wndPropertyGrid.AddCategory(objLangDef(51).strString)<BR>&nbsp; For i = 1 To UBound(objTipoDados)<BR>&nbsp; arrTipoDados = Split(objTipoDados(i), "|")<BR>&nbsp; arrToolTips = Split(objToolTips(i), "|")<BR>&nbsp; Select Case arrTipoDados(2)<BR>&nbsp;&nbsp;&nbsp; Case "bigint": IntTipo = PropertyItemNumber<BR>&nbsp;&nbsp;&nbsp; Case "int": IntTipo = PropertyItemNumber<BR>&nbsp;&nbsp;&nbsp; Case "varchar": IntTipo = PropertyItemString<BR>&nbsp; End Select<BR>&nbsp; If IntTipo = PropertyItemNumber Then<BR>&nbsp;&nbsp;&nbsp; strAux = arrTipoDados(1)<BR>&nbsp;&nbsp;&nbsp; Set item = category.AddChildItem(PropertyItemNumber, strAux, 10)<BR>&nbsp; Else<BR>&nbsp;&nbsp;&nbsp; strAux = arrTipoDados(1)<BR>&nbsp;&nbsp;&nbsp; Set item = category.AddChildItem(PropertyItemString, strAux, "100; 100")<BR>&nbsp; End If<BR>&nbsp; If arrTipoDados(4) = "0" Then<BR>&nbsp;&nbsp;&nbsp; item.ReadOnly = True<BR>&nbsp; Else<BR>&nbsp;&nbsp;&nbsp; item.ReadOnly = False<BR>&nbsp; End If<BR>&nbsp; item.ToolTip = arrToolTips(1)<BR>&nbsp; item.Expanded = True<BR>&nbsp; category.Expanded = True<BR>&nbsp; Next i</DIV><DIV>End Function</DIV><DIV>&nbsp;</DIV><DIV>Thanks!</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 13 Mar 2009 09:41:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13666&amp;PID=46630&amp;title=propertygrid-refresh-in-a-pane#46630</guid>
  </item> 
  <item>
   <title><![CDATA[Propertygrid refresh in a pane : Hi,  Can you show me what you...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13666&amp;PID=46624&amp;title=propertygrid-refresh-in-a-pane#46624</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 13666<br /><strong>Posted:</strong> 13 March 2009 at 8:09am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Can you show me what you do? Or just upload test project so I can look into it.</DIV><DIV>&nbsp;</DIV><DIV>Thanks</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 13 Mar 2009 08:09:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13666&amp;PID=46624&amp;title=propertygrid-refresh-in-a-pane#46624</guid>
  </item> 
  <item>
   <title><![CDATA[Propertygrid refresh in a pane : Hi to everyone!I have a question...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=13666&amp;PID=46592&amp;title=propertygrid-refresh-in-a-pane#46592</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5052">ideafix</a><br /><strong>Subject:</strong> 13666<br /><strong>Posted:</strong> 12 March 2009 at 6:49pm<br /><br />Hi to everyone!<br><br>I have a question that I cannot find the solution.<br><br>I am developing an MDI application that uses Docking panes. In pane A I have a treeview, and in another pane (pane B) I have a property grid (version 12).<br><br>When I click in a tree node, I clear the property grid, and add some properties. What happens? <br><br>When I add in form_load (in frmPropertyGrid) the properies appears, but when I click in a tree node, I add properties, but the PropertyGrid appears blank.<br><br>Does anyone can help me?<br><br>Thanks <br><br>Ricardo<br>]]>
   </description>
   <pubDate>Thu, 12 Mar 2009 18:49:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=13666&amp;PID=46592&amp;title=propertygrid-refresh-in-a-pane#46592</guid>
  </item> 
 </channel>
</rss>