<?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 : Report Control Footer Text Multiline</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Report Control Footer Text Multiline]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Sat, 02 May 2026 00:12:40 +0000</pubDate>
  <lastBuildDate>Sun, 20 Mar 2016 03:52:59 +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=22967</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[Report Control Footer Text Multiline : Hello,Firstly you should turn...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22967&amp;PID=74603&amp;title=report-control-footer-text-multiline#74603</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=8730">olebed</a><br /><strong>Subject:</strong> 22967<br /><strong>Posted:</strong> 20 March 2016 at 3:52am<br /><br />Hello,<br><br>Firstly you should turn on multiline<br><table width="99%"><tr><td><pre class="BBcode">void CReportSampleView::OnReportcontrolMultilinesample()<br>{<br>&nbsp; &nbsp; &nbsp;m_bMultilineSample = !m_bMultilineSample;<br><br>&nbsp; &nbsp; &nbsp;int nCount = GetReportCtrl().GetColumns()-&gt;GetCount();<br>&nbsp; &nbsp; &nbsp;for( int i = 0; i &lt; nCount; i++)&nbsp;<br>&nbsp; &nbsp; &nbsp;{<br>&nbsp;	&nbsp; &nbsp; &nbsp; &nbsp; CXTPReportColumn* pColumn = GetReportCtrl().GetColumns()-&gt;GetAt(i);<br>&nbsp;	&nbsp; &nbsp; &nbsp; &nbsp; if (pColumn)&nbsp;<br>&nbsp;	&nbsp; &nbsp; &nbsp; &nbsp; {<br>&nbsp;		&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; int nAlign = pColumn-&gt;GetAlignment();<br>&nbsp;		&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; nAlign = m_bMultilineSample ? (nAlign | DT_WORDBREAK) : (nAlign &amp; (~DT_WORDBREAK));<br>&nbsp;		&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; pColumn-&gt;SetAlignment(nAlign);<br>&nbsp;	&nbsp; &nbsp; &nbsp; &nbsp; }<br>&nbsp; &nbsp; &nbsp;}<br>&nbsp; &nbsp; &nbsp;GetReportCtrl().GetPaintManager()-&gt;SetFixedRowHeight(!m_bMultilineSample);<br>&nbsp; &nbsp; &nbsp;GetReportCtrl().GetPaintManager()-&gt;m_bUseColumnTextAlignment = TRUE;<br><br>&nbsp; &nbsp; &nbsp;GetReportCtrl().AdjustScrollBars();<br>}</pre></td></tr></table><br><br>then add &nbsp;ES_WANTRETURN&nbsp;to editOptions<table width="99%"><tr><td><pre class="BBcode">&nbsp; &nbsp;for (nColumn = 0; nColumn &lt; nFreezeCount+nColumnCount; nColumn++)<br>&nbsp; &nbsp; &nbsp;{<br>&nbsp; &nbsp; &nbsp; &nbsp; CXTPReportColumn *pColumn = wndReport.GetColumns()-&gt;GetAt(nColumn);<br>		<br>&nbsp; &nbsp; &nbsp; &nbsp; pColumn-&gt;SetAlignment(xtpColumnTextWordBreak | xtpColumnTextVCenter);<br>&nbsp; &nbsp; &nbsp; &nbsp; pColumn-&gt;GetEditOptions()-&gt;m_dwEditStyle |= ES_MULTILINE | ES_AUTOVSCROLL | ES_WANTRETURN;<br>&nbsp; &nbsp; &nbsp;}</pre></td></tr></table><br>&#091;Enter&#093; and &#091;Shift&#093;+&#091;Enter&#093; now gives only carriage return.For saving changes in cell and exit from edit mode - use &#091;Tab&#093; key or &#091;Ctrl&#093;+&#091;Enter&#093;. &#091;Esc&#093; key cancels all changes.&nbsp;<br><br>Regards,<br>&nbsp;Oleksandr Lebed<br>]]>
   </description>
   <pubDate>Sun, 20 Mar 2016 03:52:59 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22967&amp;PID=74603&amp;title=report-control-footer-text-multiline#74603</guid>
  </item> 
  <item>
   <title><![CDATA[Report Control Footer Text Multiline : HiPlease enlighten me as to how...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=22967&amp;PID=74596&amp;title=report-control-footer-text-multiline#74596</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=9007">carlitm</a><br /><strong>Subject:</strong> 22967<br /><strong>Posted:</strong> 17 March 2016 at 9:59am<br /><br />Hi<div>Please enlighten me as to how I can specify LFCR in the footer text to make it multiline.</div><div><br></div><div>TIA</div><div><br></div><div>Carl</div>]]>
   </description>
   <pubDate>Thu, 17 Mar 2016 09:59:46 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=22967&amp;PID=74596&amp;title=report-control-footer-text-multiline#74596</guid>
  </item> 
 </channel>
</rss>