<?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 : Need help with preview text</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Need help with preview text]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 14 May 2026 16:52:57 +0000</pubDate>
  <lastBuildDate>Wed, 14 Dec 2011 13:02:28 +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=19301</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[Need help with preview text : Hi,  Did you try to set alignment...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19301&amp;PID=67176&amp;title=need-help-with-preview-text#67176</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 19301<br /><strong>Posted:</strong> 14 December 2011 at 1:02pm<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>Did you try to set alignment to .Record.PreviewItem.Alignment = xtpAlignmentWordBreak? If so height should be calculated right way. I remember there was an issue once regarding linebreaks in previewitem (not sure) so try to search forum for that.</DIV><DIV>&nbsp;</DIV><DIV>Good luck</DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 14 Dec 2011 13:02:28 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19301&amp;PID=67176&amp;title=need-help-with-preview-text#67176</guid>
  </item> 
  <item>
   <title><![CDATA[Need help with preview text : Thanks for that, but I had figured...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19301&amp;PID=67164&amp;title=need-help-with-preview-text#67164</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7241">Axegrinder</a><br /><strong>Subject:</strong> 19301<br /><strong>Posted:</strong> 13 December 2011 at 5:33pm<br /><br />Thanks for that, but I had figured that much out by myself. <DIV>&nbsp;</DIV><DIV>The question is, rather than just setting the height = 100, is there a way to measure the text to be displayed and set the height to the appropriate amount? All I can do currently is guess based on the number of linefeeds in the text. </DIV>]]>
   </description>
   <pubDate>Tue, 13 Dec 2011 17:33:14 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19301&amp;PID=67164&amp;title=need-help-with-preview-text#67164</guid>
  </item> 
  <item>
   <title><![CDATA[Need help with preview text : Hi,  I don&amp;#039;t use previewItem...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19301&amp;PID=67162&amp;title=need-help-with-preview-text#67162</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 19301<br /><strong>Posted:</strong> 13 December 2011 at 5:04pm<br /><br />Hi,<DIV>&nbsp;</DIV><DIV>I don't use previewItem but I guess this should work:</DIV><DIV>&nbsp;</DIV><DIV>in form Load event</DIV><DIV>&nbsp;</DIV><DIV><EM>Me.wndReportControl.SetCustomDraw xtpCustomMeasurePreviewItem</EM></DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV><EM>Private Sub wndReportControl_MeasurePreviewItem(ByVal Row As XtremeReportControl.IReportRow, ByVal hDC As stdole.OLE_HANDLE, ByVal Width As Long, Height As Long)</EM></DIV><DIV><EM></EM>&nbsp;</DIV><DIV><EM>&nbsp;&nbsp;<strong>&nbsp;Height = 100 </strong></EM></DIV><DIV><EM></EM>&nbsp;</DIV><DIV><EM>End Sub</EM></DIV>]]>
   </description>
   <pubDate>Tue, 13 Dec 2011 17:04:49 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19301&amp;PID=67162&amp;title=need-help-with-preview-text#67162</guid>
  </item> 
  <item>
   <title><![CDATA[Need help with preview text : Hi.   I would like the preview...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=19301&amp;PID=67147&amp;title=need-help-with-preview-text#67147</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=7241">Axegrinder</a><br /><strong>Subject:</strong> 19301<br /><strong>Posted:</strong> 12 December 2011 at 11:20pm<br /><br />Hi. <DIV>&nbsp;</DIV><DIV>I would like the preview text below each report item to show the entire comment, not just the first three lines. </DIV><DIV>&nbsp;</DIV><DIV>Can anyone please advise? </DIV>]]>
   </description>
   <pubDate>Mon, 12 Dec 2011 23:20:09 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=19301&amp;PID=67147&amp;title=need-help-with-preview-text#67147</guid>
  </item> 
 </channel>
</rss>