<?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: Virtual mode with hierarchical data</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : SOLVED: Virtual mode with hierarchical data]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Wed, 13 May 2026 14:46:11 +0000</pubDate>
  <lastBuildDate>Tue, 01 Sep 2009 16:07:48 +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=14943</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: Virtual mode with hierarchical data : Hi Mark,   &#161;This seems to solve...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14943&amp;PID=52655&amp;title=solved-virtual-mode-with-hierarchical-data#52655</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4289">fjosesen</a><br /><strong>Subject:</strong> 14943<br /><strong>Posted:</strong> 01 September 2009 at 4:07pm<br /><br />Hi Mark,<DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp; ¡This seems to solve the problem! Once I've test it on my holidays return, I will rename the post to "SOLVED: ..."</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;&nbsp; Kind regards,</DIV><DIV>&nbsp;</DIV><DIV>FJSen</DIV>]]>
   </description>
   <pubDate>Tue, 01 Sep 2009 16:07:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14943&amp;PID=52655&amp;title=solved-virtual-mode-with-hierarchical-data#52655</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: Virtual mode with hierarchical data :  This snapshot show how current...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14943&amp;PID=52568&amp;title=solved-virtual-mode-with-hierarchical-data#52568</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 14943<br /><strong>Posted:</strong> 30 August 2009 at 11:56am<br /><br /><P><img src="http://forum.codejock.com/uploads/20090830_115725_ScreenShot1.jpg" border="0"></P><DIV>This snapshot show how current version support multi-levels vitrualmode - see&nbsp;updated <a href="https://forum.codejock.com/uploads/DemoVersi&#111;n/EditVirtualListIc&#111;nStatic.rar" target="_blank">https://forum.codejock.com/uploads/DemoVersion/EditVirtualListIconStatic.rar</A> </DIV><DIV>&nbsp;</DIV><DIV>and try build your own VB sample with - <a href="https://forum.codejock.com/uploads/BetaOCX/ReportC&#111;ntrolBeta13-2.rar" target="_blank">https://forum.codejock.com/uploads/BetaOCX/ReportControlBeta13-2.rar</A><BR></DIV>]]>
   </description>
   <pubDate>Sun, 30 Aug 2009 11:56:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14943&amp;PID=52568&amp;title=solved-virtual-mode-with-hierarchical-data#52568</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: Virtual mode with hierarchical data : In term of discussion - may be,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14943&amp;PID=52423&amp;title=solved-virtual-mode-with-hierarchical-data#52423</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 14943<br /><strong>Posted:</strong> 26 August 2009 at 4:16pm<br /><br />In term of discussion - may be, in term of some results - no. <DIV>Something strange happened - I worked with your issue - after it was reassigned to other person - now I assign it back and will work with you don't worry.</DIV>]]>
   </description>
   <pubDate>Wed, 26 Aug 2009 16:16:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14943&amp;PID=52423&amp;title=solved-virtual-mode-with-hierarchical-data#52423</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: Virtual mode with hierarchical data : Hi MDoubson,  When we work in...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14943&amp;PID=52421&amp;title=solved-virtual-mode-with-hierarchical-data#52421</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4289">fjosesen</a><br /><strong>Subject:</strong> 14943<br /><strong>Posted:</strong> 26 August 2009 at 4:06pm<br /><br /><P>Hi MDoubson,</P><P>&nbsp;&nbsp;&nbsp; When we work in virtual mode, the hosting app is responsible to give information to the control to draw the hierarchy. The only ways the control now accepts this information are (I'm talking about OnBeforeDrawRaw handler) :</P><P>1- "VirtualRowLevel" property of recordItemMetrics object<BR>&nbsp;&nbsp;&nbsp; Here we can tell to the control the depth of the item.</P><P>2- "VirtualRowFlags" property of recordItemMetrics object<BR>&nbsp;&nbsp;&nbsp; Here we can tell to the control if the record has children and if it is the last child.</P><P>3- "Expanded" property of row object<BR>&nbsp;&nbsp;&nbsp;&nbsp; We can tell to the control if the record is expanded or not.</P><P>&nbsp;&nbsp;&nbsp; So, we also need any method or property where we can tell to the control if are there any "uncles" of the item, that will be drawn later but whose parents are drawn yet (the 4th record in my example. I'd need something like this:</P><P>&nbsp;&nbsp;&nbsp; recordItemMetrics-&gt;MarkVirtualRowLevelToDrawHiearchyLine(x);&nbsp;&nbsp; // x = 0 in my example when row = 3</P><P>&nbsp;&nbsp;&nbsp; Where 0 &lt;= x &lt; VirtualRowLevel of the current item.</P><P><BR>&nbsp;&nbsp;&nbsp; With this info, the control must draw a vertical line at indent 0 but not at indent 1, when in 3rd row.</P><P>&nbsp;&nbsp;&nbsp; If we'd have a more complex hierarchy, perhaps we'd need to draw several vertical lines (with several call to the new method):</P><P>&nbsp;&nbsp;&nbsp; 1<BR>&nbsp;&nbsp;&nbsp; |<BR>&nbsp;&nbsp;&nbsp; +- 2<BR>&nbsp;&nbsp;&nbsp; |&nbsp; |<BR>&nbsp;&nbsp;&nbsp; |&nbsp; +- 3<BR>&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp; |<BR>&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp; +- 4<BR>&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp; |<BR>&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp; |&nbsp; +- 5<BR>&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp; |<BR>&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp;&nbsp;&nbsp; +- 6<BR>&nbsp;&nbsp;&nbsp; |<BR>&nbsp;&nbsp;&nbsp; +- 7<BR>&nbsp;&nbsp;&nbsp; |<BR>&nbsp;&nbsp;&nbsp; 8</P><P>&nbsp;&nbsp;&nbsp; When we are at OnBeforeDrawRaw of raw 5, we need to perform two calls to the new method to tell the control to draw two additional lines at indents 0 and 2:</P><P><BR>&nbsp;&nbsp;&nbsp; recordItemMetrics-&gt;VirtualRowLevel= 4;<BR>&nbsp;&nbsp;&nbsp; recordItemMetrics-&gt;MarkVirtualRowLevelToDrawHiearchyLine(0);<BR>&nbsp;&nbsp;&nbsp; recordItemMetrics-&gt;MarkVirtualRowLevelToDrawHiearchyLine(2);</P><P>&nbsp;&nbsp;&nbsp; I expect this explanation can clarify the problem.</P><P>&nbsp;&nbsp;&nbsp; Kind regards,</P><P>FJSen</P><P>Note: I've opened an issue one week ago but nobody responds for the last 4 or 5 days. I think this method is better because more people can participate and give another points of view. Thanks.<BR></P>]]>
   </description>
   <pubDate>Wed, 26 Aug 2009 16:06:31 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14943&amp;PID=52421&amp;title=solved-virtual-mode-with-hierarchical-data#52421</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: Virtual mode with hierarchical data : Ok - I appreciate you try my recent...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14943&amp;PID=52416&amp;title=solved-virtual-mode-with-hierarchical-data#52416</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 14943<br /><strong>Posted:</strong> 26 August 2009 at 3:28pm<br /><br />Ok - I appreciate you try my recent modifications which release prev restricted for one level deep childs. Please give me more details about the way current record can give you enough information about child hierarchy. We can draw everything but that's is behind this?<DIV>&nbsp;</DIV><DIV>btw - You will ab le to upload images after you make enough posts - this is formal auto rule.</DIV><DIV>I recommend you to open Issue and we can communicate faster and you will upload all you want - images, docs, codes</DIV>]]>
   </description>
   <pubDate>Wed, 26 Aug 2009 15:28:08 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14943&amp;PID=52416&amp;title=solved-virtual-mode-with-hierarchical-data#52416</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: Virtual mode with hierarchical data : Hi,  I&amp;#039;ve tested it with...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14943&amp;PID=52414&amp;title=solved-virtual-mode-with-hierarchical-data#52414</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4289">fjosesen</a><br /><strong>Subject:</strong> 14943<br /><strong>Posted:</strong> 26 August 2009 at 2:50pm<br /><br /><P>&nbsp;&nbsp;&nbsp; Hi,</P><P>&nbsp;&nbsp;&nbsp; I've tested it with 13.2 beta release at <a href="https://forum.codejock.com/uploads/BetaOCX/ReportC&#111;ntrolBeta13-2.rar" target="_blank">https://forum.codejock.com/uploads/BetaOCX/ReportControlBeta13-2.rar</A> and it seems to semi-work. I expect the following result:</P><P>&nbsp;&nbsp;&nbsp; 1<BR>&nbsp;&nbsp;&nbsp; |<BR>&nbsp;&nbsp;&nbsp; +- 2<BR>&nbsp;&nbsp;&nbsp; |&nbsp; |<BR>&nbsp;&nbsp;&nbsp; |&nbsp; +- 3<BR>&nbsp;&nbsp;&nbsp; |<BR>&nbsp;&nbsp;&nbsp; +- 4<BR>&nbsp;&nbsp;&nbsp; |<BR>&nbsp;&nbsp;&nbsp; 5</P><P>&nbsp;&nbsp;&nbsp; but i get this result:</P><P>&nbsp;&nbsp;&nbsp; 1<BR>&nbsp;&nbsp;&nbsp; |<BR>&nbsp;&nbsp;&nbsp; +- 2<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; |<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; +- 3<BR>&nbsp;&nbsp;&nbsp; |<BR>&nbsp;&nbsp;&nbsp; +- 4<BR>&nbsp;&nbsp;&nbsp; |<BR>&nbsp;&nbsp;&nbsp; 5</P><P>&nbsp;&nbsp;&nbsp; All that I need to get the rigth result is to have any property or method in the ReportRecordItemMetrics object (at OnBeforeDrawRaw handler) to let me to say which "Virtual row levels" have to draw a vertical line in the current "virtual" record. Perhaps one call to this method or property per vertical line to draw indicating the level (0 &gt;= Level &lt; VirtualRowLevel). With this simple solution the Report control will provide a full hierarchical virtual mode support.</P><P>&nbsp;&nbsp;&nbsp; Also, I'd like to upload an image to describe the problem. I've read that administrators must allow that ;-)</P><P><BR>&nbsp;&nbsp;&nbsp; Kind regards,</P><P>FJSen<BR></P>]]>
   </description>
   <pubDate>Wed, 26 Aug 2009 14:50:37 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14943&amp;PID=52414&amp;title=solved-virtual-mode-with-hierarchical-data#52414</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: Virtual mode with hierarchical data : Hi! Any help? Codejock Support?  Regards,  FJSen...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14943&amp;PID=52059&amp;title=solved-virtual-mode-with-hierarchical-data#52059</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4289">fjosesen</a><br /><strong>Subject:</strong> 14943<br /><strong>Posted:</strong> 17 August 2009 at 6:41am<br /><br />Hi! Any help? Codejock Support?<DIV>&nbsp;</DIV><DIV>Regards,</DIV><DIV>&nbsp;</DIV><DIV>FJSen</DIV>]]>
   </description>
   <pubDate>Mon, 17 Aug 2009 06:41:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14943&amp;PID=52059&amp;title=solved-virtual-mode-with-hierarchical-data#52059</guid>
  </item> 
  <item>
   <title><![CDATA[SOLVED: Virtual mode with hierarchical data : Hi,  I&amp;#039;m trying to use the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14943&amp;PID=51826&amp;title=solved-virtual-mode-with-hierarchical-data#51826</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4289">fjosesen</a><br /><strong>Subject:</strong> 14943<br /><strong>Posted:</strong> 10 August 2009 at 12:56pm<br /><br /><P><FONT face="Courier New, Courier, mono">Hi,</FONT></P><P><FONT face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp; I'm trying to use the report control in virtual mode with hierarchical data. I've been investigating the use of "VirtualRowLevel" and "VirtualRowFlags" properties of "Metrics" object in "OnBeforeDrawRow" event.</FONT></P><P><FONT face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp; Everything goes fine if I load a one-level tree:</FONT></P><P><FONT face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp; 1<BR>&nbsp;&nbsp;&nbsp; |<BR>&nbsp;&nbsp;&nbsp; +- 2<BR>&nbsp;&nbsp;&nbsp; |<BR>&nbsp;&nbsp;&nbsp; +- 3<BR>&nbsp;&nbsp;&nbsp; |&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; 4<BR>&nbsp;&nbsp;&nbsp; |<BR>&nbsp;&nbsp;&nbsp; 5</FONT></P><P><FONT face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp; But I cannot get right result when trying to load a multilevel one:</FONT></P><P><FONT face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp; 1<BR>&nbsp;&nbsp;&nbsp; |<BR>&nbsp;&nbsp;&nbsp; +- 2<BR>&nbsp;&nbsp;&nbsp; |&nbsp; |<BR>&nbsp;&nbsp;&nbsp; |&nbsp; +- 3<BR>&nbsp;&nbsp;&nbsp; |<BR>&nbsp;&nbsp;&nbsp; +- 4<BR>&nbsp;&nbsp;&nbsp; |<BR>&nbsp;&nbsp;&nbsp; 5</FONT></P><P><FONT face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp; Is there any way to show a multilevel tree using virtual mode to get this right result? (It seems the control ignore the property "VirtualRowLevel" when &gt; 1).</FONT></P><P><FONT face="Courier New, Courier, mono">&nbsp;&nbsp;&nbsp; Kind regards,</FONT></P><P><BR><FONT face="Courier New, Courier, mono">FJSen<BR></FONT></P>]]>
   </description>
   <pubDate>Mon, 10 Aug 2009 12:56:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14943&amp;PID=51826&amp;title=solved-virtual-mode-with-hierarchical-data#51826</guid>
  </item> 
 </channel>
</rss>