<?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 : Multiline editing</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Multiline editing]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 21 Apr 2026 11:50:34 +0000</pubDate>
  <lastBuildDate>Sat, 02 Sep 2006 08:22:19 +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=4952</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[Multiline editing : I have a report control with multiple...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=4952&amp;PID=15428&amp;title=multiline-editing#15428</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2198">znakeeye</a><br /><strong>Subject:</strong> 4952<br /><strong>Posted:</strong> 02 September 2006 at 8:22am<br /><br /><DIV>I have a report control with multiple entries. Each entry contains text with an arbitrary number of lines. When editing these items, I want the edit box (and consequently the whole row) to be resized. If I enter a new line I want it to grow, and if I remove it, I want it to shrink again. How do I accomplish this behavior?</DIV><DIV>&nbsp;</DIV><DIV>I did start to experiment a bit. I tried adding two new lines whenever editing is about to take place. This is a step in the right direction, but it does not solve my problem. Any ideas?</DIV><DIV>&nbsp;</DIV><DIV>ON_NOTIFY(XTP_NM_REPORT_REQUESTEDIT, IDC_JOURNALVIEW_REPORT_JOURNAL, OnJournalTextEdit)</DIV><P>void CJournalView::OnJournalTextEdit(NMHDR *pNotifyStruct, LRESULT * /*result*/)<BR>{<BR>&nbsp;&nbsp;&nbsp; XTP_NM_REPORTREQUESTEDIT *pnmRequestEdit = (XTP_NM_REPORTREQUESTEDIT*)pNotifyStruct;<BR>&nbsp;&nbsp;&nbsp; CXTPReportRecordItemText *pItem = (CXTPReportRecordItemText*)pnmRequestEdit-&gt;pItem-&gt;GetRecord()-&gt;GetItem(1);<BR>&nbsp;&nbsp;&nbsp; CString str = pItem-&gt;GetValue();<BR>&nbsp;&nbsp;&nbsp; str.Append(_T("\r\n\r\n"));<BR>&nbsp;&nbsp;&nbsp; pItem-&gt;SetValue(str);<BR>}<BR></P>]]>
   </description>
   <pubDate>Sat, 02 Sep 2006 08:22:19 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=4952&amp;PID=15428&amp;title=multiline-editing#15428</guid>
  </item> 
 </channel>
</rss>