<?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 : Treeview TAG</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Controls : Treeview TAG]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 09:42:08 +0000</pubDate>
  <lastBuildDate>Wed, 23 Mar 2011 13:14:52 +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=18110</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[Treeview TAG : thanks everybody for helping. ...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18110&amp;PID=63513&amp;title=treeview-tag#63513</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6700">bartstoppel</a><br /><strong>Subject:</strong> 18110<br /><strong>Posted:</strong> 23 March 2011 at 1:14pm<br /><br />thanks everybody for helping.&nbsp;]]>
   </description>
   <pubDate>Wed, 23 Mar 2011 13:14:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18110&amp;PID=63513&amp;title=treeview-tag#63513</guid>
  </item> 
  <item>
   <title><![CDATA[Treeview TAG :   bartstoppel wrote:Hi,thanks...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18110&amp;PID=63512&amp;title=treeview-tag#63512</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4669">gibra</a><br /><strong>Subject:</strong> 18110<br /><strong>Posted:</strong> 23 March 2011 at 11:57am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by bartstoppel" alt="Originally posted by bartstoppel" style="vertical-align: text-bottom;" /> <strong>bartstoppel wrote:</strong><br /><br />Hi,<BR><BR>thanks for your reply. I'm a bit confused. The same way of proceeding to store additional data with VB-NET-structure in the tag-field operates in many different controls like microsoft treeview, microsoft listview, all purecomponents-controls, etc. without problems.</td></tr></table> <DIV>&nbsp;</DIV><DIV>Codejock controls are <strong>COM</strong>&nbsp;objects, aren't <strong>NET</strong> objects.</DIV><DIV>You can use them on NET environment, is true, but the&nbsp;behavoir still native (COM.</DIV><DIV>&nbsp;</DIV><DIV>In your case,&nbsp;<strong>Tag</strong> property is&nbsp;a <strong>Text</strong> type, so you can store strings only.&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 23 Mar 2011 11:57:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18110&amp;PID=63512&amp;title=treeview-tag#63512</guid>
  </item> 
  <item>
   <title><![CDATA[Treeview TAG :  Hi,I must admit I am coming...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18110&amp;PID=63509&amp;title=treeview-tag#63509</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2960">Xander75</a><br /><strong>Subject:</strong> 18110<br /><strong>Posted:</strong> 23 March 2011 at 9:18am<br /><br />Hi,<br><br>I must admit I am coming from a VB6 environment and not VB.Net.<br><br>However as a workaround the method I suggested would work fine in both instances to resolve your issue.<br>]]>
   </description>
   <pubDate>Wed, 23 Mar 2011 09:18:36 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18110&amp;PID=63509&amp;title=treeview-tag#63509</guid>
  </item> 
  <item>
   <title><![CDATA[Treeview TAG : Hi,thanks for your reply. I&amp;#039;m...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18110&amp;PID=63502&amp;title=treeview-tag#63502</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6700">bartstoppel</a><br /><strong>Subject:</strong> 18110<br /><strong>Posted:</strong> 23 March 2011 at 8:12am<br /><br />Hi,<br><br>thanks for your reply. I'm a bit confused. The same way of proceeding to store additional data with VB-NET-structure in the tag-field operates in many different controls like microsoft treeview, microsoft listview, all purecomponents-controls, etc. without problems. <br><br>But for my software i need markups, so i have to use the codejock treeview not the microsoft one that doesn't support markups.<br><br>Perhaps i have to try your suggestion or i will do it with an collection to link the treeview node with the right collection item.<br>]]>
   </description>
   <pubDate>Wed, 23 Mar 2011 08:12:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18110&amp;PID=63502&amp;title=treeview-tag#63502</guid>
  </item> 
  <item>
   <title><![CDATA[Treeview TAG : Hi,I believe this is due to the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18110&amp;PID=63500&amp;title=treeview-tag#63500</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2960">Xander75</a><br /><strong>Subject:</strong> 18110<br /><strong>Posted:</strong> 23 March 2011 at 7:50am<br /><br />Hi,<br><br>I believe this is due to the nature of what can be stored in the Tag field. Tag fields can store either a single boolean, integer, string and more values. However I don't think they can store a reference to an object, structure or type.<br><br>The best way would be to store your extra data in an array, then store the integer value of the array in the Tag field. <br>]]>
   </description>
   <pubDate>Wed, 23 Mar 2011 07:50:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18110&amp;PID=63500&amp;title=treeview-tag#63500</guid>
  </item> 
  <item>
   <title><![CDATA[Treeview TAG : I&amp;#039;m using the XTreme SuitePro...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=18110&amp;PID=63496&amp;title=treeview-tag#63496</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=6700">bartstoppel</a><br /><strong>Subject:</strong> 18110<br /><strong>Posted:</strong> 23 March 2011 at 5:28am<br /><br />I'm using the XTreme SuitePro ActiveX 2009 Vol4 (13.4.0) with Vb.NET. I tried to store additional data in the TAG-field of a treeview node like in this example:<br><br>Structure testSTRUCT<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim numb As Integer<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim pics As Boolean<br>End Structure<br><br>Private Sub StoreDataToNode<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim tvnode As TreeViewNode<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Dim nodeData As testSTRUCT = New testSTRUCT <br><br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; nodeData.numb = 13123<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; nodeData.pics = False<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tvnode = tvDemo.Nodes.Add(, , "F_1", "first node")<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; tvnode.Tag = nodeData<br>End Sub<br>Private Sub Form1_Click(ByVal sender As Object, ByVal e As System.EventArgs) Handles Me.Click<br>&nbsp;&nbsp;&nbsp; StoreDataToNode()<br>End Sub<br><br>Running the program the debugger stops in the row "tvnode.Tag = nodeData" <br>But i got the error "Der Wert liegt außerhalb des erwarteten Bereichs" (e.g. in english "The value is outside the expected range") in the line "tvnode.Tag = nodeData" after&nbsp; starting the program an clicking on the form. <br><br>However if i only store an integer in the tag-field of my treeview node (like this: tvnode.Tag = 1), the programm run through the line above without any error. <br><br>How can i store my additional data in the tag field?<br><br>]]>
   </description>
   <pubDate>Wed, 23 Mar 2011 05:28:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=18110&amp;PID=63496&amp;title=treeview-tag#63496</guid>
  </item> 
 </channel>
</rss>