<?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 : DrawItem</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : DrawItem]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 16 May 2026 01:29:11 +0000</pubDate>
  <lastBuildDate>Mon, 27 Nov 2006 08:44: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=5613</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[DrawItem : argghh!!! it works now!! ]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5613&amp;PID=17657&amp;title=drawitem#17657</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2071">cryo75</a><br /><strong>Subject:</strong> 5613<br /><strong>Posted:</strong> 27 November 2006 at 8:44am<br /><br /><P>argghh!!!</P><P>it works now!!</P>]]>
   </description>
   <pubDate>Mon, 27 Nov 2006 08:44:48 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5613&amp;PID=17657&amp;title=drawitem#17657</guid>
  </item> 
  <item>
   <title><![CDATA[DrawItem : Try this: MoveToEx hdc, left,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5613&amp;PID=17654&amp;title=drawitem#17654</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2536">Philip</a><br /><strong>Subject:</strong> 5613<br /><strong>Posted:</strong> 27 November 2006 at 8:32am<br /><br /><P>Try this:</P><DIV>MoveToEx hdc, left, 0, TP<BR>LineTo hdc, left, bottom</DIV><DIV>&nbsp;</DIV><DIV>MoveToEx hdc, left+3, 0, TP<BR>LineTo hdc, left+3, bottom</DIV><DIV>&nbsp;</DIV><DIV>Being the fifth column, the x (left) property must start at the left of the fifth column, not the table.<BR></DIV>]]>
   </description>
   <pubDate>Mon, 27 Nov 2006 08:32:41 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5613&amp;PID=17654&amp;title=drawitem#17654</guid>
  </item> 
  <item>
   <title><![CDATA[DrawItem : I&amp;#039;m doing that too!  It...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5613&amp;PID=17650&amp;title=drawitem#17650</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2071">cryo75</a><br /><strong>Subject:</strong> 5613<br /><strong>Posted:</strong> 27 November 2006 at 7:24am<br /><br />I'm doing that too!<DIV>&nbsp;</DIV><DIV>It still doesn't draw!!</DIV>]]>
   </description>
   <pubDate>Mon, 27 Nov 2006 07:24:34 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5613&amp;PID=17650&amp;title=drawitem#17650</guid>
  </item> 
  <item>
   <title><![CDATA[DrawItem : Hi!  Custom draw event is not...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5613&amp;PID=17649&amp;title=drawitem#17649</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2536">Philip</a><br /><strong>Subject:</strong> 5613<br /><strong>Posted:</strong> 27 November 2006 at 7:20am<br /><br />Hi!<DIV>&nbsp;</DIV><DIV>Custom draw event is not triggered if you don't set:</DIV><DIV>rpt.SetCustomDraw xtpCustomDrawItem</DIV><DIV>&nbsp;</DIV><DIV>By default the custom draw is disabled so you have to place the line above at startup.</DIV><DIV>&nbsp;</DIV><DIV>To do custom drawing, <strong>DoDefault</strong> must be <strong>False</strong>.<BR></DIV>]]>
   </description>
   <pubDate>Mon, 27 Nov 2006 07:20:40 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5613&amp;PID=17649&amp;title=drawitem#17649</guid>
  </item> 
  <item>
   <title><![CDATA[DrawItem : Hi,  I&amp;#039;ve got a simple...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=5613&amp;PID=17648&amp;title=drawitem#17648</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2071">cryo75</a><br /><strong>Subject:</strong> 5613<br /><strong>Posted:</strong> 27 November 2006 at 7:01am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>I've got a simple list with 5 columns and 1000 records. The 5th column should draw a double line, so I do this in the DrawItem event:</DIV><DIV>&nbsp;</DIV><DIV>Private Sub rpt_DrawItem(ByVal Row As XtremeReportControl.IReportRow, ByVal Column As XtremeReportControl.IReportColumn, ByVal Item As XtremeReportControl.IReportRecordItem, ByVal hdc As stdole.OLE_HANDLE, ByVal left As Long, ByVal top As Long, ByVal right As Long, ByVal bottom As Long, DoDefault As Boolean)<BR>&nbsp;&nbsp;&nbsp; Dim TP As POINTAPI<BR>&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp; If Column.Tag = "Col5" Then<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MoveToEx hdc, 0, 0, TP<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LineTo hdc, 0, bottom<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; MoveToEx hdc, 3, 0, TP<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; LineTo hdc, 3, bottom<BR>&nbsp;&nbsp;&nbsp; End If<BR>End Sub</DIV><DIV>&nbsp;</DIV><DIV>But nothing is being drawn. Any ideas?</DIV><DIV>&nbsp;</DIV><DIV>Thanks,</DIV><DIV>Ivan</DIV>]]>
   </description>
   <pubDate>Mon, 27 Nov 2006 07:01:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=5613&amp;PID=17648&amp;title=drawitem#17648</guid>
  </item> 
 </channel>
</rss>