<?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 : Bug in FindItem</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Property Grid : Bug in FindItem]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 05 Apr 2026 17:54:50 +0000</pubDate>
  <lastBuildDate>Wed, 26 Oct 2005 10:58:46 +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=3091</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[Bug in FindItem : Ok you are rigth! Just id=0 is...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3091&amp;PID=9248&amp;title=bug-in-finditem#9248</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1020">Superpippo</a><br /><strong>Subject:</strong> 3091<br /><strong>Posted:</strong> 26 October 2005 at 10:58am<br /><br /><P>Ok you are rigth!</P><P>Just id=0 is a mistake.</P><P>Thanks a lot.</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Wed, 26 Oct 2005 10:58:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3091&amp;PID=9248&amp;title=bug-in-finditem#9248</guid>
  </item> 
  <item>
   <title><![CDATA[Bug in FindItem : In my brief investigations:  FindItem(ID)...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3091&amp;PID=9246&amp;title=bug-in-finditem#9246</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=280">ianp</a><br /><strong>Subject:</strong> 3091<br /><strong>Posted:</strong> 26 October 2005 at 7:39am<br /><br /><P>In my brief investigations:</P><UL><LI>FindItem(ID) only returns an object where the ID is greater than 0, despite the Item.ID being set and stored as 0 or less - ie MyCategory.Childs.Item(1).Id returns the correct ID <LI>FindItem(TAG)&nbsp;never seems to returns an item <LI>FindItem(CAPTION) returns the first item with a matching caption</LI></UL><P>This appears correct for 9.601 and 9.80 (and I assume any version in between!?!).</P><P>Perhaps submit a bug report and post the response here?</P><span style="font-size:10px"><br /><br />Edited by ianp</span>]]>
   </description>
   <pubDate>Wed, 26 Oct 2005 07:39:55 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3091&amp;PID=9246&amp;title=bug-in-finditem#9246</guid>
  </item> 
  <item>
   <title><![CDATA[Bug in FindItem : Post Scriptum: also finditem...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3091&amp;PID=9242&amp;title=bug-in-finditem#9242</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1020">Superpippo</a><br /><strong>Subject:</strong> 3091<br /><strong>Posted:</strong> 26 October 2005 at 2:51am<br /><br /><P>Post Scriptum:</P><P>also finditem by tag doesn't work.</P><P>Bye</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Wed, 26 Oct 2005 02:51:04 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3091&amp;PID=9242&amp;title=bug-in-finditem#9242</guid>
  </item> 
  <item>
   <title><![CDATA[Bug in FindItem : I have 9.60 version and the help...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3091&amp;PID=9241&amp;title=bug-in-finditem#9241</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1020">Superpippo</a><br /><strong>Subject:</strong> 3091<br /><strong>Posted:</strong> 26 October 2005 at 2:48am<br /><br /><P>I have 9.60 version and the help on line said finditem works by id or caption.</P><P>Caption works fine, id does'nt work.</P><P>To test try this code (just put it on the form load event of a vb6 form):</P><P>Private Sub Form_Load()<BR>&nbsp;&nbsp;&nbsp; Dim MyCategory As PropertyGridItem<BR>&nbsp;&nbsp;&nbsp; Dim MyItem As PropertyGridItem<BR>&nbsp;&nbsp;&nbsp; Dim MySearchItem As PropertyGridItem<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; Set MyCategory = Me.PropertyGrid1.AddCategory("FirstCategory")<BR>&nbsp;&nbsp;&nbsp; Set MyItem = MyCategory.AddChildItem(PropertyItemNumber, "FirstItem")<BR>&nbsp;&nbsp;&nbsp; MyItem.Id = 0<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; Set MySearchItem = Me.PropertyGrid1.FindItem(0)<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; If MySearchItem Is Nothing Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;msgbox "FindItem Method does'nt work!!"<BR>&nbsp;&nbsp;&nbsp; Else<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; msgbox MySearchItem.Caption<BR>&nbsp;&nbsp;&nbsp; End If<BR>End Sub<BR></P><P>You will get the msgbox "FindItem Method does'nt work!!" .</P><P>Waiting your answer, Thanks a lot.</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P><P>&nbsp;</P>]]>
   </description>
   <pubDate>Wed, 26 Oct 2005 02:48:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3091&amp;PID=9241&amp;title=bug-in-finditem#9241</guid>
  </item> 
  <item>
   <title><![CDATA[Bug in FindItem : I think with 9.60 it started to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3091&amp;PID=9228&amp;title=bug-in-finditem#9228</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=369">SuperMario</a><br /><strong>Subject:</strong> 3091<br /><strong>Posted:</strong> 25 October 2005 at 8:06am<br /><br />I think with 9.60 it started to search by Id or Caption, before that it searched by Tag or Caption.&nbsp; <br><br>Can you post your syntax for adding the item and trying to find it?<br>]]>
   </description>
   <pubDate>Tue, 25 Oct 2005 08:06:15 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3091&amp;PID=9228&amp;title=bug-in-finditem#9228</guid>
  </item> 
  <item>
   <title><![CDATA[Bug in FindItem : I have codejock 9.61 and i am...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=3091&amp;PID=9226&amp;title=bug-in-finditem#9226</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=1020">Superpippo</a><br /><strong>Subject:</strong> 3091<br /><strong>Posted:</strong> 25 October 2005 at 5:35am<br /><br /><P>I have codejock 9.61 and i am testing PropertyGrid control in my application.</P><P>In property grid documentation you can see that finditem method can search an item by id or by caption.</P><P>I have set item.id property but when i try to get the item by finditem method with item.id i get an error.</P><P>If i try finditem with item.caption all works fine.</P><P>Can you fix this problem ?</P><P>Thanks a lot.</P>]]>
   </description>
   <pubDate>Tue, 25 Oct 2005 05:35:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=3091&amp;PID=9226&amp;title=bug-in-finditem#9226</guid>
  </item> 
 </channel>
</rss>