<?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 : SOLVED:how to read or write from property grid</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Property Grid : SOLVED:how to read or write from property grid]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sun, 05 Apr 2026 19:56:13 +0000</pubDate>
  <lastBuildDate>Wed, 27 Aug 2008 09:48:36 +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=11957</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[SOLVED:how to read or write from property grid : Hi,  If your isssue has been...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11957&amp;PID=40490&amp;title=solvedhow-to-read-or-write-from-property-grid#40490</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11957<br /><strong>Posted:</strong> 27 August 2008 at 9:48am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>If your isssue has been solved, please&nbsp;change your topic description into SOLVED: how to read or write from property grid and have a look at post:<BR></DIV><DIV><a href="https://forum.codejock.com/forum_posts.asp?TID=11225" target="_blank">https://forum.codejock.com/forum_posts.asp?TID=11225</A></DIV><DIV>&nbsp;</DIV><DIV>This would be much easier for all members just to see what kind of language you use. If you would do the same we would all be happy <img src="http://forum.codejock.com/smileys/smiley2.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV>And if you have any sample code (you mentioned somekind of template) to share with other Clarion users, you could upload one in the sample subforum.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 27 Aug 2008 09:48:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11957&amp;PID=40490&amp;title=solvedhow-to-read-or-write-from-property-grid#40490</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED:how to read or write from property grid : Hi Aaron,well, I did it :-) ......]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11957&amp;PID=40484&amp;title=solvedhow-to-read-or-write-from-property-grid#40484</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4233">Marino</a><br /><strong>Subject:</strong> 11957<br /><strong>Posted:</strong> 27 August 2008 at 9:18am<br /><br />Hi Aaron,<br><br>well, I did it :-) ... thanks to you ... I renamed my variables to make easier for read and use the following code:<br><br>Loc:OCXproperty = STRING(20)<br>Loc:category&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =STRING(20)<br>Loc:item&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =STRING(20)<br>var1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =STRING('templates for codejock controls')<br>var2&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =STRING(50)<br>var3 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =STRING(50)<br><br>code<br>?wndPropertyGrid{prop:create} = 'Codejock.PropertyGrid.12.0.1'<br>Loc:OCXproperty = CREATE(?wndPropertyGrid,CREATE:OLE)<br><br>Loc:category =&nbsp; ?wndPropertyGrid{'AddCategory("some documents")'}<br>Loc:item =&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ?wndPropertyGrid{Loc:category &amp; '.AddChildItem(0,"books","programming in clarion")'}<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ?wndPropertyGrid{Loc:item &amp; '.id'} = 1<br><br>Loc:item =&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ?wndPropertyGrid{Loc:category &amp; '.AddChildItem(0,"magazines","clarionmag.com")'}<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ?wndPropertyGrid{Loc:item &amp; '.id'} = 2<br><br>Loc:item =&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ?wndPropertyGrid{Loc:category &amp; '.AddChildItem(0,"flyers","noyantis.com")'}<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ?wndPropertyGrid{Loc:item &amp; '.id'} = 3<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ?wndPropertyGrid{Loc:item &amp; '.value'} = var1<br>var2 =&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ?wndPropertyGrid{'finditem(3).value'}<br>var3 =&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ?wndPropertyGrid{'finditem("magazines").value'}<br><br>Thanks to Andy Wilton and his great job of writing the templates for using this great controls with clarion, the community of clarion users of codejock controls is everyday bigger and bigger, but while we wait for the rest of templates, I'm sure that many of us will try to play with this ...<br><br>Once again, thank you Aaron on your help,<br><br>Regards,<br><br>Marino<br>]]>
   </description>
   <pubDate>Wed, 27 Aug 2008 09:18:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11957&amp;PID=40484&amp;title=solvedhow-to-read-or-write-from-property-grid#40484</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED:how to read or write from property grid : Hi,   I&amp;#039;m not familiar...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11957&amp;PID=40371&amp;title=solvedhow-to-read-or-write-from-property-grid#40371</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11957<br /><strong>Posted:</strong> 25 August 2008 at 10:16am<br /><br />Hi, <DIV>&nbsp;</DIV><DIV>I'm not familiar with Clarion but you know that already <img src="https://forum.codejock.com/smileys/smiley2.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV>But I will try:</DIV><DIV>&nbsp;</DIV><DIV>This will be in VB code.</DIV><DIV>&nbsp;</DIV><DIV>Add item to category:</DIV><DIV>&nbsp;</DIV><DIV>Set Item = selectionCategory.AddChildItem(PropertyItemString, "option 1-1", False)<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Item.Id = ID_PROPGRID_INCLUDEITEMS</DIV><DIV>&nbsp;</DIV><DIV>Where:</DIV><DIV>selectionCategory&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = CategoryItem where&nbsp;item is added</DIV><DIV>Item&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = PropertyGridItem</DIV><DIV>ID_PROPGRID_INCLUDEITEMS&nbsp;&nbsp; = ID of added item</DIV><DIV>&nbsp;</DIV><DIV>To find item use method FindItem:</DIV><DIV>&nbsp;</DIV><DIV>Set Item =&nbsp;wndPropertyGrid.<strong>FindItem</strong>("option 1-1")</DIV><DIV>or by ID Set Item = wndPropertyGrid.<strong>FindItem</strong>(ID_PROPGRID_INCLUDEITEMS)</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Where:</DIV><DIV>wndPropertyGrid = PropertyGrid control</DIV><DIV>Item&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = PropertyGridItem</DIV><DIV><strong>FindItem&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; =</strong> method to find item in collection with <strong>ID</strong> or <strong>Caption</strong></DIV><DIV><strong></strong>&nbsp;</DIV><DIV>To read value:</DIV><DIV>&nbsp;</DIV><DIV>msgbox Item.Value</DIV><DIV>(or messagebox or whatever Clarion uses to display a message)</DIV><DIV>&nbsp;</DIV><DIV>to write value</DIV><DIV>Item.Value = "option 1a-1a"</DIV><DIV>&nbsp;</DIV><DIV>I don't know if Clarion will accept this but you can also use it like this:</DIV><DIV>&nbsp;</DIV><DIV>read:</DIV><DIV>msgbox wndPropertyGrid.<strong>FindItem</strong>("option 1-1").Value</DIV><DIV><DIV>msgbox wndPropertyGrid.<strong>FindItem</strong>(ID_PROPGRID_INCLUDEITEMS).Value</DIV><DIV>&nbsp;</DIV></DIV><DIV>write:</DIV><DIV><DIV>wndPropertyGrid.<strong>FindItem</strong>("option 1-1").Value = "option 1a-1a"</DIV></DIV><DIV>wndPropertyGrid.<strong>FindItem</strong>(ID_PROPGRID_INCLUDEITEMS).Value = "option 1a-1a"</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>Hope this helps you a little <img src="http://forum.codejock.com/smileys/smiley2.gif" border="0">&nbsp;Just ask me if things aren't clear.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 25 Aug 2008 10:16:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11957&amp;PID=40371&amp;title=solvedhow-to-read-or-write-from-property-grid#40371</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED:how to read or write from property grid :  Hi,I use clarion to work with...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11957&amp;PID=40355&amp;title=solvedhow-to-read-or-write-from-property-grid#40355</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4233">Marino</a><br /><strong>Subject:</strong> 11957<br /><strong>Posted:</strong> 25 August 2008 at 6:15am<br /><br />Hi,<br><br>I use clarion to work with codejock so if somebody can give some advise ... how to read from or write into propery grid ... this is a code which I use for setting and initialising property grid ...<br><br><br>LOC:OCXproperty&nbsp;&nbsp;&nbsp;&nbsp; = CSTRING(20)<br>Loc:Property1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = CSTRING(20)<br>Loc:Property1item&nbsp;&nbsp; = CSTRING(20)<br>Loc:Prop1&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; = CSTRING(20)<br><br>&nbsp; code<br>?property{prop:create} = 'Codejock.PropertyGrid.12.0.1'<br>Loc:OCXproperty = CREATE(?property,CREATE:OLE)<br><br>Loc:Property1 = ?property{'InsertCategory(0,"category 1")'}<br>Loc:Property1item = ?property{Loc:Property1 &amp; '.AddChildItem(0,"option 1-1","something 1")'}<br>Loc:prop1 = ?property{Loc:Property1item &amp; '.insertChildItem(1,0,"suboption 1", "sub-something 1")'}<br>Loc:Property1item = ?property{Loc:Property1 &amp; '.AddChildItem(0,"option 2-1","something 2")'}<br>Loc:Property1item = ?property{Loc:Property1 &amp; '.AddChildItem(0,"option 3-1","something 3")'}<br>Loc:Property1item = ?property{Loc:Property1 &amp; '.AddChildItem(0,"option 4-1","something 4")'}<br>Loc:Property1 = ?property{'InsertCategory(1,"category 2")'}<br>Loc:Property1item = ?property{Loc:Property1 &amp; '.AddChildItem(0,"option 1-2",9)'}<br>Loc:Property1item = ?property{Loc:Property1 &amp; '.AddChildItem(0,"option 2-2",9)'}<br>Loc:Property1item = ?property{Loc:Property1 &amp; '.AddChildItem(0,"option 3-2",9)'}<br><br>now, how to read and write values&nbsp; ... I tried with .AddChildItemBinded too, but don't know how to put the name of the object like a parameter ... Tried with .Value, but didn't work, maybe my mistake...<br><br><br><br>]]>
   </description>
   <pubDate>Mon, 25 Aug 2008 06:15:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11957&amp;PID=40355&amp;title=solvedhow-to-read-or-write-from-property-grid#40355</guid>
  </item> 
 </channel>
</rss>