<?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 : Previewtext Alignment.</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Previewtext Alignment.]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 02 May 2026 00:41:01 +0000</pubDate>
  <lastBuildDate>Sat, 20 Mar 2010 07:22:49 +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=16473</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[Previewtext Alignment. :   keepITcool wrote: I&amp;#039;m...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16473&amp;PID=57693&amp;title=previewtext-alignment#57693</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 16473<br /><strong>Posted:</strong> 20 March 2010 at 7:22am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by keepITcool" alt="Originally posted by keepITcool" style="vertical-align: text-bottom;" /> <strong>keepITcool wrote:</strong><br /><br /><DIV>I'm sure you are.&nbsp; Sorry to be the messenger of yet another bug.&nbsp; </DIV></td></tr></table> <DIV>&nbsp;</DIV><DIV>Hi,</DIV><DIV>&nbsp;</DIV><DIV>Please keep on reporting bugs... As I said before, I don't use this option (yet) but if I will I want to be sure that everything works OK. So don't hesitate to report BUGS.</DIV><DIV>&nbsp;</DIV><DIV>Thanks</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Sat, 20 Mar 2010 07:22:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16473&amp;PID=57693&amp;title=previewtext-alignment#57693</guid>
  </item> 
  <item>
   <title><![CDATA[Previewtext Alignment. : I&amp;#039;m sure you are. Sorry to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16473&amp;PID=57692&amp;title=previewtext-alignment#57692</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5135">keepITcool</a><br /><strong>Subject:</strong> 16473<br /><strong>Posted:</strong> 20 March 2010 at 7:11am<br /><br /><DIV>I'm sure you are.&nbsp; Sorry to be the messenger of yet another bug.&nbsp; </DIV>]]>
   </description>
   <pubDate>Sat, 20 Mar 2010 07:11:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16473&amp;PID=57692&amp;title=previewtext-alignment#57692</guid>
  </item> 
  <item>
   <title><![CDATA[Previewtext Alignment. : Hi,  You are right about PreviewItem,...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16473&amp;PID=57690&amp;title=previewtext-alignment#57690</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 16473<br /><strong>Posted:</strong> 20 March 2010 at 6:05am<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>You are right about PreviewItem, seems to be broken somewhere... I never used this before so did set properties just to see what happens but&nbsp;lots of properties you can't set or doesn't seem to work???</DIV><DIV>&nbsp;</DIV><DIV>I'm glad someone uses this and reported it in this post. Thanks</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Sat, 20 Mar 2010 06:05:02 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16473&amp;PID=57690&amp;title=previewtext-alignment#57690</guid>
  </item> 
  <item>
   <title><![CDATA[Previewtext Alignment. : Following doesn&amp;#039;t work in13.1...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16473&amp;PID=57689&amp;title=previewtext-alignment#57689</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5135">keepITcool</a><br /><strong>Subject:</strong> 16473<br /><strong>Posted:</strong> 20 March 2010 at 3:13am<br /><br /><P>Following doesn't work in&nbsp;13.1 &nbsp;nor 13.3.1.&nbsp;&nbsp;&nbsp;</P><DIV>i'm sure that if that works the event will work as well. All properties of the PreviewItem other than Caption are ignored... </DIV><DIV>&nbsp;</DIV><DIV>Private Sub Form_Load()<BR>&nbsp; <BR>&nbsp; With ReportControl<BR>&nbsp;&nbsp;&nbsp; .PreviewMode = True<BR></DIV><DIV>&nbsp;&nbsp;&nbsp; .Columns.Add 0, "test", 200, 1<BR>&nbsp;&nbsp;&nbsp; With .Records.Add<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .AddItem "Sara Deer"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .PreviewText = "this is the default."<BR>&nbsp;&nbsp;&nbsp; End With<BR>&nbsp;&nbsp;&nbsp; With .Records.Add<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .AddItem "John Doe"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .PreviewText = "dummy"</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .PreviewItem.Caption = "this&nbsp;must be red centered"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .PreviewItem.Alignment = xtpAlignmentCenter<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; .PreviewItem.ForeColor = vbRed<BR>&nbsp;&nbsp;&nbsp; End With<BR>&nbsp;&nbsp;&nbsp; .Populate<BR>&nbsp; End With</DIV><DIV>End Sub</DIV>]]>
   </description>
   <pubDate>Sat, 20 Mar 2010 03:13:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16473&amp;PID=57689&amp;title=previewtext-alignment#57689</guid>
  </item> 
  <item>
   <title><![CDATA[Previewtext Alignment. : Hi,  Can you upload test project?  ...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16473&amp;PID=57683&amp;title=previewtext-alignment#57683</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 16473<br /><strong>Posted:</strong> 19 March 2010 at 3:28pm<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Can you upload test project?&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 19 Mar 2010 15:28:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16473&amp;PID=57683&amp;title=previewtext-alignment#57683</guid>
  </item> 
  <item>
   <title><![CDATA[Previewtext Alignment. :  Hi all.  Using 13.1 and trying...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=16473&amp;PID=57668&amp;title=previewtext-alignment#57668</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=5135">keepITcool</a><br /><strong>Subject:</strong> 16473<br /><strong>Posted:</strong> 19 March 2010 at 4:41am<br /><br /><DIV></DIV><DIV>Hi all.</DIV><DIV>&nbsp;</DIV><DIV>Using 13.1 and trying to work with&nbsp;previewtext</DIV><DIV>&nbsp;</DIV><DIV>.SetCustomDraw xtpCustomDrawPreviewItem</DIV><DIV>&nbsp;</DIV><DIV>Private Sub repLic_DrawPreviewItem(ByVal Row As XtremeReportControl.IReportRow, 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; Item.Alignment = xtpAlignmentCenter<BR>&nbsp; Item.BackColor = vbBlack<BR>&nbsp; Item.ForeColor = vbWhite<BR>&nbsp; Item.Bold = True<BR>&nbsp; Item.Caption = "WTF?! more bugs?..."<BR>End Sub<BR></DIV><DIV>the eventhandler works somewhat.. on Populate or Redraw it doesnt work at all, but Once my mouse has moved over a columnHeader!!!!...&nbsp;&nbsp;the item.caption from&nbsp;the handler shows up in the report. (overwriting the&nbsp;original PreviewText)&nbsp; All other Item properties I set in the DrawPreviewItem event are ignored.</DIV><DIV>&nbsp;</DIV><DIV>What am i doing wrong....</DIV><DIV>&nbsp;</DIV><DIV>Jurgen</DIV><DIV>&nbsp;</DIV><DIV>Addendum: When I click on the report event is triggered as well. Item.Caption is set Item Properties are ignored.</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Fri, 19 Mar 2010 04:41:33 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=16473&amp;PID=57668&amp;title=previewtext-alignment#57668</guid>
  </item> 
 </channel>
</rss>