<?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: VirtualMode Tooltip Problem</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : BUG: VirtualMode Tooltip Problem]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 15 May 2026 10:58:11 +0000</pubDate>
  <lastBuildDate>Tue, 21 Apr 2009 12:28:11 +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=14057</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: VirtualMode Tooltip Problem : Hi Aaron, thanks for the info....]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14057&amp;PID=48203&amp;title=bug-virtualmode-tooltip-problem#48203</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 14057<br /><strong>Posted:</strong> 21 April 2009 at 12:28pm<br /><br />Hi Aaron, thanks for the info. My mistake was trying to extract cell data from the ReportControl properties in virtual mode. I now directly query the database (based on the Row and Column indexes), and everything seems to be working.<br><br>Also to Mark and anyone else who may be interested...the tooltip notification is already exposed in the ActiveX version, I just didn't see it. The event is named GetToolTipInfo, and it can be used as follows:<br><br><table width="99%"><tr><td><pre class="BBcode"><br>Private Sub ReportControl1_GetToolTipInfo(ByVal toolTipInfo As XtremeReportControl.IReportToolTipInfo)<br>&nbsp;&nbsp; With toolTipInfo<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .Text = "Row: " &amp; .Row.Index &amp; " Col: " &amp; .Item.Index<br>&nbsp;&nbsp; End With<br>End Sub<br></pre></td></tr></table><br><br>Thanks again for all your help.<br>]]>
   </description>
   <pubDate>Tue, 21 Apr 2009 12:28:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14057&amp;PID=48203&amp;title=bug-virtualmode-tooltip-problem#48203</guid>
  </item> 
  <item>
   <title><![CDATA[BUG: VirtualMode Tooltip Problem :  XTP_NM_REPORT_GETTOOLTIPINFO...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14057&amp;PID=48198&amp;title=bug-virtualmode-tooltip-problem#48198</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 14057<br /><strong>Posted:</strong> 21 April 2009 at 10:53am<br /><br /><FONT size=2><P>XTP_NM_REPORT_GETTOOLTIPINFO = NM_FIRST-74</P><DIV></DIV>XTP_ID_REPORT_CONTROL - set by APP - not by ActiveX or Core<BR><FONT color=#0000ff size=2><P>struct</FONT><FONT size=2> XTP_NM_REPORTTOOLTIPINFO : </FONT><FONT color=#0000ff size=2>public</FONT><FONT size=2> XTP_NM_REPORTRECORDITEM { CString* pstrText; </FONT><FONT size=2>};</P></FONT></FONT>]]>
   </description>
   <pubDate>Tue, 21 Apr 2009 10:53:11 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14057&amp;PID=48198&amp;title=bug-virtualmode-tooltip-problem#48198</guid>
  </item> 
  <item>
   <title><![CDATA[BUG: VirtualMode Tooltip Problem : Mark, What are the values of the...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14057&amp;PID=48191&amp;title=bug-virtualmode-tooltip-problem#48191</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 14057<br /><strong>Posted:</strong> 21 April 2009 at 9:43am<br /><br />Mark, <br><br>What are the values of the following:<br><br>XTP_NM_REPORT_GETTOOLTIPINFO<br>XTP_ID_REPORT_CONTROL<br><br>What is the definition of the following (preferably in VB6 vartypes):<br><br>XTP_NM_REPORTTOOLTIPINFO<br><br>I assume I need to subclass the WM_NOTIFY event on the ReportControl hWnd (or is it on the parent of the ReportControl hWnd)? <br><br>This seems very complex for something that should be simple. How about exposing NeedTooltip as a standard VB6 event?<br>]]>
   </description>
   <pubDate>Tue, 21 Apr 2009 09:43:05 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14057&amp;PID=48191&amp;title=bug-virtualmode-tooltip-problem#48191</guid>
  </item> 
  <item>
   <title><![CDATA[BUG: VirtualMode Tooltip Problem :   jpbro wrote:Hi Aaron,I&amp;#039;m...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14057&amp;PID=48189&amp;title=bug-virtualmode-tooltip-problem#48189</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 14057<br /><strong>Posted:</strong> 21 April 2009 at 9:31am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by jpbro" alt="Originally posted by jpbro" style="vertical-align: text-bottom;" /> <strong>jpbro wrote:</strong><br /><br />Hi Aaron,<BR><BR>I'm confused by response #2...If I set the virtual mode to 0 rows, how do I add rows to the report in virtual mode? As far as I can tell I need to set the desired number of columns in order for the BeforeDrawRow event to fire...or am I using virtual mode incorrectly?<BR><BR></td></tr></table><DIV>&nbsp;</DIV><DIV>Hi Jason,</DIV><DIV>&nbsp;</DIV><DIV>Rows will be added in BeforeDrawRow event for the number you set for .SetVirtualMode </DIV><DIV>&nbsp;</DIV><DIV>If you set for example: wndReportControl.SetVirtualMode 100 </DIV><DIV>&nbsp;</DIV><DIV>you basiccaly are telling the ReportControl to have events in BeforeDrawRow event for 100 rows (you don't will have an event with Row.Index = 100 (first row will have index = 0) You have to add at least one record to have the RC working and have events fired at all. The fired events are only of the visible part of RC (you can test this, size RC and only have one row showing, you will get only 1 event: one of the visible row) With every single click, size, scroll etc etc (whenever RC needs to be redrawn, the event will fire for all visible rows in RC)&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>With VirtualMode you need to assign values of ReportItems yourself in BeforeDrawRow event using Row.Index and Item.index)&nbsp;You can see a workimg sample in Sample forum <a href="https://forum.codejock.com/forum_posts.asp?TID=11178" target="_blank">https://forum.codejock.com/forum_posts.asp?TID=11178</A>&nbsp;You can also use an array to fill RC with data.</DIV><DIV>&nbsp;</DIV><DIV>I haven't spent time on using VirtualMode with DataBinding but it should be possible...&nbsp;I hope this will help you a bit <img src="https://forum.codejock.com/smileys/smiley2.gif" border="0">&nbsp;</DIV><DIV>&nbsp;&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Tue, 21 Apr 2009 09:31:32 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14057&amp;PID=48189&amp;title=bug-virtualmode-tooltip-problem#48189</guid>
  </item> 
  <item>
   <title><![CDATA[BUG: VirtualMode Tooltip Problem : check the post https://forum.c...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14057&amp;PID=48174&amp;title=bug-virtualmode-tooltip-problem#48174</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=4721">mdoubson</a><br /><strong>Subject:</strong> 14057<br /><strong>Posted:</strong> 20 April 2009 at 6:05pm<br /><br />check the post <a href="https://forum.codejock.com/forum_posts.asp?TID=13896" target="_blank">https://forum.codejock.com/forum_posts.asp?TID=13896</A>&nbsp;- you can use similar approach in VB]]>
   </description>
   <pubDate>Mon, 20 Apr 2009 18:05:21 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14057&amp;PID=48174&amp;title=bug-virtualmode-tooltip-problem#48174</guid>
  </item> 
  <item>
   <title><![CDATA[BUG: VirtualMode Tooltip Problem : Hi Aaron,I&amp;#039;m confused by...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14057&amp;PID=48173&amp;title=bug-virtualmode-tooltip-problem#48173</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 14057<br /><strong>Posted:</strong> 20 April 2009 at 5:10pm<br /><br />Hi Aaron,<br><br>I'm confused by response #2...If I set the virtual mode to 0 rows, how do I add rows to the report in virtual mode? As far as I can tell I need to set the desired number of columns in order for the BeforeDrawRow event to fire...or am I using virtual mode incorrectly?<br><br>]]>
   </description>
   <pubDate>Mon, 20 Apr 2009 17:10:24 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14057&amp;PID=48173&amp;title=bug-virtualmode-tooltip-problem#48173</guid>
  </item> 
  <item>
   <title><![CDATA[BUG: VirtualMode Tooltip Problem : Hi Jason,    In fact you have...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14057&amp;PID=48160&amp;title=bug-virtualmode-tooltip-problem#48160</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 14057<br /><strong>Posted:</strong> 20 April 2009 at 1:50pm<br /><br />Hi Jason, <DIV>&nbsp;</DIV><OL><LI>In fact you have only ONE record in RC and it looks like THIS item is returned in BeforeDrawRow event and DrawItem event??? Maybe SupportTeam can answer this one. <LI>You can set: </LI><UL><LI>wndReportControl.SetVirtualMode 0<LI>wndReportControl.Populate</LI></UL></OL><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 20 Apr 2009 13:50:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14057&amp;PID=48160&amp;title=bug-virtualmode-tooltip-problem#48160</guid>
  </item> 
  <item>
   <title><![CDATA[BUG: VirtualMode Tooltip Problem : Same problem when trying to retrieve...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14057&amp;PID=48111&amp;title=bug-virtualmode-tooltip-problem#48111</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 14057<br /><strong>Posted:</strong> 19 April 2009 at 12:15pm<br /><br />Same problem when trying to retrieve a cell value using:<br><br><table width="99%"><tr><td><pre class="BBcode"><br>Dim lo_Row As ReportRow<br><br>With UserControl.ReportControl1<br>&nbsp;&nbsp;&nbsp; For Each lo_Row In .SelectedRows<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Debug.Print lo_Row.Record.Item(0).Value<br>&nbsp;&nbsp;&nbsp; Next lo_Row<br>End With<br></pre></td></tr></table><br><br>The printed Values will all be the same (the bottom-most visible value on the ReportControl).<br>]]>
   </description>
   <pubDate>Sun, 19 Apr 2009 12:15:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14057&amp;PID=48111&amp;title=bug-virtualmode-tooltip-problem#48111</guid>
  </item> 
  <item>
   <title><![CDATA[BUG: VirtualMode Tooltip Problem : Similarly, when you add Hyperlinks...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14057&amp;PID=48088&amp;title=bug-virtualmode-tooltip-problem#48088</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 14057<br /><strong>Posted:</strong> 17 April 2009 at 9:09pm<br /><br />Similarly, when you add Hyperlinks to a cell in VirtualMode, only the Hyperlink for the bottom-most visible item is clickable.]]>
   </description>
   <pubDate>Fri, 17 Apr 2009 21:09:43 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14057&amp;PID=48088&amp;title=bug-virtualmode-tooltip-problem#48088</guid>
  </item> 
  <item>
   <title><![CDATA[BUG: VirtualMode Tooltip Problem : When setting the Tooltip property...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=14057&amp;PID=48086&amp;title=bug-virtualmode-tooltip-problem#48086</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2676">jpbro</a><br /><strong>Subject:</strong> 14057<br /><strong>Posted:</strong> 17 April 2009 at 6:48pm<br /><br />When setting the Tooltip property of an item with a ReportControl in Virtual Mode, the tooltip for all visible items becomes the tooltip of the last item that you set. This problem doesn't exist in non-VirtualMode.<br><br>Sample:<br><a href="uploads/20090417_184804_ReportC&#111;ntrolTo.zip" target="_blank">uploads/20090417_184804_ReportControlTo.zip</a><br><br>Also, is there a way to turn off VirtualMode once it has been activated with SetVirtualMode?<br>]]>
   </description>
   <pubDate>Fri, 17 Apr 2009 18:48:52 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=14057&amp;PID=48086&amp;title=bug-virtualmode-tooltip-problem#48086</guid>
  </item> 
 </channel>
</rss>