<?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 : xtpEditStyleMultiline</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : xtpEditStyleMultiline]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 15 May 2026 02:01:19 +0000</pubDate>
  <lastBuildDate>Fri, 13 Aug 2010 10:04:07 +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=17080</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[xtpEditStyleMultiline : Hi Codejock.  Any update to...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17080&amp;PID=59763&amp;title=xtpeditstylemultiline#59763</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3545">markmark</a><br /><strong>Subject:</strong> 17080<br /><strong>Posted:</strong> 13 August 2010 at 10:04am<br /><br />Hi Codejock.<DIV>&nbsp;</DIV><DIV>Any update to this, and my support ticket.</DIV><DIV>&nbsp;</DIV><DIV>Thanks</DIV><DIV>&nbsp;</DIV><DIV>Mark</DIV>]]>
   </description>
   <pubDate>Fri, 13 Aug 2010 10:04:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17080&amp;PID=59763&amp;title=xtpeditstylemultiline#59763</guid>
  </item> 
  <item>
   <title><![CDATA[xtpEditStyleMultiline : Yes thanks to you both.  I will...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17080&amp;PID=59717&amp;title=xtpeditstylemultiline#59717</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3545">markmark</a><br /><strong>Subject:</strong> 17080<br /><strong>Posted:</strong> 10 August 2010 at 2:09am<br /><br />Yes thanks to you both.<DIV>&nbsp;</DIV><DIV>I will see what CJ can do for me. </DIV><DIV>&nbsp;</DIV><DIV>Thanks again</DIV><DIV>&nbsp;</DIV><DIV>Mark</DIV>]]>
   </description>
   <pubDate>Tue, 10 Aug 2010 02:09:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17080&amp;PID=59717&amp;title=xtpeditstylemultiline#59717</guid>
  </item> 
  <item>
   <title><![CDATA[xtpEditStyleMultiline :   Xander75 wrote:Hi,@Aaron: It...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17080&amp;PID=59707&amp;title=xtpeditstylemultiline#59707</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 17080<br /><strong>Posted:</strong> 09 August 2010 at 11:15am<br /><br /><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Originally posted by Xander75" alt="Originally posted by Xander75" style="vertical-align: text-bottom;" /> <strong>Xander75 wrote:</strong><br /><br />Hi,<BR><BR>@Aaron: It should be possible to detect that a user has pressed the Enter key using "PreviewKeyDown" then using ReportControl.Navigator.BeginEdit to reselect the cell for editing. I have done so but in my code this is used to move onto the next editable cell.<BR><BR>Although this does mean the cursor would move out of it's position when the cell being edited regains focus, unless there's a way of storing the cursor position and resetting it, but I doubt it.<BR></td></tr></table> <DIV>&nbsp;</DIV><DIV>Hi,</DIV><DIV>&nbsp;</DIV><DIV>I tried that but it didn't start edit so I gave up on that option. I think CJ needs to help Mark (and maybe others who need this) </DIV><DIV>&nbsp;</DIV><DIV>Thanks though for looking at this <img src="http://forum.codejock.com/smileys/smiley2.gif" border="0"></DIV><DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 09 Aug 2010 11:15:07 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17080&amp;PID=59707&amp;title=xtpeditstylemultiline#59707</guid>
  </item> 
  <item>
   <title><![CDATA[xtpEditStyleMultiline :   Hi,@Aaron: It should be possible...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17080&amp;PID=59706&amp;title=xtpeditstylemultiline#59706</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=2960">Xander75</a><br /><strong>Subject:</strong> 17080<br /><strong>Posted:</strong> 09 August 2010 at 10:59am<br /><br />Hi,<br><br>@Aaron: It should be possible to detect that a user has pressed the Enter key using "PreviewKeyDown" then using ReportControl.Navigator.BeginEdit to reselect the cell for editing. I have done so but in my code this is used to move onto the next editable cell.<br><br>Although this does mean the cursor would move out of it's position when the cell being edited regains focus, unless there's a way of storing the cursor position and resetting it, but I doubt it.<br>]]>
   </description>
   <pubDate>Mon, 09 Aug 2010 10:59:56 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17080&amp;PID=59706&amp;title=xtpeditstylemultiline#59706</guid>
  </item> 
  <item>
   <title><![CDATA[xtpEditStyleMultiline : Hi Mark,  I don&amp;#039;t see a...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17080&amp;PID=59700&amp;title=xtpeditstylemultiline#59700</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 17080<br /><strong>Posted:</strong> 09 August 2010 at 9:58am<br /><br />Hi Mark,<DIV>&nbsp;</DIV><DIV>I don't see a way to add newline with ENTER key. The&nbsp;editing stops when using ENTER key so... Guess we&nbsp;have to wait for CJ <img src="http://forum.codejock.com/smileys/smiley2.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV>Good luck</DIV><DIV>&nbsp;&nbsp;</DIV>]]>
   </description>
   <pubDate>Mon, 09 Aug 2010 09:58:30 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17080&amp;PID=59700&amp;title=xtpeditstylemultiline#59700</guid>
  </item> 
  <item>
   <title><![CDATA[xtpEditStyleMultiline : Thanks for your reply Aaron. Shame...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17080&amp;PID=59690&amp;title=xtpeditstylemultiline#59690</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3545">markmark</a><br /><strong>Subject:</strong> 17080<br /><strong>Posted:</strong> 09 August 2010 at 3:06am<br /><br /><P>Thanks for your reply Aaron.</P><DIV></DIV>Shame about the auto size when editing an item, but would be great if CJ added this.<DIV>Any idea about the newline using just enter?</DIV><DIV>&nbsp;</DIV><DIV>I have put a support call in to CJ for this, but as yet no reply.</DIV><DIV>&nbsp;</DIV><DIV>Thanks</DIV><DIV>&nbsp;</DIV><DIV>Mark</DIV>]]>
   </description>
   <pubDate>Mon, 09 Aug 2010 03:06:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17080&amp;PID=59690&amp;title=xtpeditstylemultiline#59690</guid>
  </item> 
  <item>
   <title><![CDATA[xtpEditStyleMultiline : Hi Mark,  I think you have live...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17080&amp;PID=59684&amp;title=xtpeditstylemultiline#59684</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 17080<br /><strong>Posted:</strong> 07 August 2010 at 12:46pm<br /><br />Hi Mark,<DIV>&nbsp;</DIV><DIV>I think you have live with it... You could set Column.Alignment = xtpAlignmentWordBreak and user can see more of the editing field&nbsp;while typing. But a autoresize would be handy <img src="http://forum.codejock.com/smileys/smiley2.gif" border="0">&nbsp;I will add this to my list and maybe&nbsp;CJ feels like to add this request.</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;&nbsp;</DIV>]]>
   </description>
   <pubDate>Sat, 07 Aug 2010 12:46:27 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17080&amp;PID=59684&amp;title=xtpeditstylemultiline#59684</guid>
  </item> 
  <item>
   <title><![CDATA[xtpEditStyleMultiline :   Hi  If you use the code...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=17080&amp;PID=59674&amp;title=xtpeditstylemultiline#59674</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3545">markmark</a><br /><strong>Subject:</strong> 17080<br /><strong>Posted:</strong> 07 August 2010 at 3:08am<br /><br /><FONT size=1><DIV><FONT size=2><P style="MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-: EN; mso-fareast-: EN-GB" lang=EN>Hi</SPAN><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 7.5pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-: EN; mso-fareast-: EN-GB" lang=EN><?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 7.5pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-: EN; mso-fareast-: EN-GB" lang=EN>&nbsp;<o:p></o:p></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-: EN; mso-fareast-: EN-GB" lang=EN>If you use the code I entered below, you can enter text on&nbsp;multiple lines.</SPAN><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 7.5pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-: EN; mso-fareast-: EN-GB" lang=EN><o:p></o:p></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-: EN; mso-fareast-: EN-GB" lang=EN>What my customers are asking.....</SPAN><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 7.5pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-: EN; mso-fareast-: EN-GB" lang=EN><o:p></o:p></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 7.5pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-: EN; mso-fareast-: EN-GB" lang=EN>&nbsp;<o:p></o:p></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-: EN; mso-fareast-: EN-GB" lang=EN>&nbsp;&nbsp; 1&nbsp; &nbsp;Can we use enter and not Control &amp; enter to get a new line.</SPAN><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 7.5pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-: EN; mso-fareast-: EN-GB" lang=EN><o:p></o:p></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-: EN; mso-fareast-: EN-GB" lang=EN>&nbsp;&nbsp; 2&nbsp; &nbsp;Can the row grow as we enter a new line.</SPAN><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 7.5pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-: EN; mso-fareast-: EN-GB" lang=EN><o:p></o:p></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 7.5pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-: EN; mso-fareast-: EN-GB" lang=EN>&nbsp;<o:p></o:p></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 7.5pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-: EN; mso-fareast-: EN-GB" lang=EN>&nbsp;<o:p></o:p></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-: EN; mso-fareast-: EN-GB" lang=EN>Thanks</SPAN><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 7.5pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-: EN; mso-fareast-: EN-GB" lang=EN><o:p></o:p></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 7.5pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-: EN; mso-fareast-: EN-GB" lang=EN>&nbsp;<o:p></o:p></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 10pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-: EN; mso-fareast-: EN-GB" lang=EN>Mark</SPAN><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 7.5pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-: EN; mso-fareast-: EN-GB" lang=EN><o:p></o:p></SPAN></P></FONT></DIV><DIV>&nbsp;</DIV><DIV>Private Sub Form_Load()<BR>&nbsp;Dim rRec As ReportRecord<BR>&nbsp;Dim rItem As ReportRecordItem</FONT></DIV><P><FONT size=1>&nbsp;wndReportControl.AllowEdit = True<BR>&nbsp;wndReportControl.SetCustomDraw xtpCustomMeasureRow</FONT></P><P><FONT size=1>&nbsp;wndReportControl.Columns.Add 0, "Notes", 200, True</FONT></P><P><FONT size=1>&nbsp;Set rRec = wndReportControl.Records.Add<BR>&nbsp;Set rItem = rRec.AddItem("Some Text")<BR>&nbsp;rItem.CreateEditOptions<BR>&nbsp;rItem.EditOptions.EditControlStyle = xtpEditStyleMultiline + xtpEditStyleAutoVScroll</FONT></P><P><FONT size=1>&nbsp;Set rRec = wndReportControl.Records.Add<BR>&nbsp;Set rItem = rRec.AddItem("And Some Text")<BR>&nbsp;rItem.CreateEditOptions<BR>&nbsp;rItem.EditOptions.EditControlStyle = xtpEditStyleMultiline + xtpEditStyleAutoVScroll</FONT></P><P><FONT size=1>&nbsp;wndReportControl.Populate<BR>End Sub</FONT></P>]]>
   </description>
   <pubDate>Sat, 07 Aug 2010 03:08:51 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=17080&amp;PID=59674&amp;title=xtpeditstylemultiline#59674</guid>
  </item> 
 </channel>
</rss>