<?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 : Set the Report Record Height.</title>
  <link>http://forum.codejock.com/</link>
  <description><![CDATA[This is an XML content feed of; Codejock Developer Community : Report Control : Set the Report Record Height.]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Fri, 15 May 2026 15:27:52 +0000</pubDate>
  <lastBuildDate>Sun, 20 Jul 2008 04:34:47 +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=11492</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[Set the Report Record Height. : Hi,   If you type into a textbox...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11492&amp;PID=38586&amp;title=set-the-report-record-height#38586</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11492<br /><strong>Posted:</strong> 20 July 2008 at 4:34am<br /><br />Hi, <DIV>&nbsp;</DIV><DIV>If you type into a textbox it won't autosize either, it will only scroll. Same way as you do now, with reportitem multiline. If I were you, I wouldn't put so much effort in it just to&nbsp;fit the contents into row. Users don't expect that it will resize, just scroll down as they type. I know it's difficult to let go when you have something in mind, but I wouldn't go this far <img src="http://forum.codejock.com/smileys/smiley2.gif" border="0"></DIV><DIV>&nbsp;</DIV><DIV>btw, I added this as&nbsp;possible feature to my FIXED BUGS post: have a scrollbar with multiline reportitem. Would be nicer anyway, this way you could set a certain height for every row and still see that the contents is bigger then the rowheight.</DIV>]]>
   </description>
   <pubDate>Sun, 20 Jul 2008 04:34:47 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11492&amp;PID=38586&amp;title=set-the-report-record-height#38586</guid>
  </item> 
  <item>
   <title><![CDATA[Set the Report Record Height. :  Hi When you are typing into...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11492&amp;PID=38584&amp;title=set-the-report-record-height#38584</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3545">markmark</a><br /><strong>Subject:</strong> 11492<br /><strong>Posted:</strong> 20 July 2008 at 2:18am<br /><br /><FONT size=2><FONT face=Arial><DIV>Hi</DIV><DIV>When you &nbsp;are typing into an Item and type CTRL-ENTER the row doesn't expand to fit the text untill you click out of the item.</DIV><DIV>&nbsp;</DIV><DIV>I was going to trap&nbsp; CTRL-ENTER and expand the row.</DIV><DIV>Unless there's another setting?</DIV><DIV>&nbsp;</DIV><DIV>Thanks for your help</DIV><DIV>&nbsp;</DIV><DIV>&nbsp;</DIV><DIV>MArk</DIV></FONT></FONT>]]>
   </description>
   <pubDate>Sun, 20 Jul 2008 02:18:58 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11492&amp;PID=38584&amp;title=set-the-report-record-height#38584</guid>
  </item> 
  <item>
   <title><![CDATA[Set the Report Record Height. : Hi,    The only way setting...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11492&amp;PID=38577&amp;title=set-the-report-record-height#38577</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11492<br /><strong>Posted:</strong> 19 July 2008 at 9:09am<br /><br />Hi, <DIV>&nbsp;</DIV><DIV><DIV><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-size: 7.5pt"><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>The only way setting a rowheight is using the MeasureRow event, but:</FONT></SPAN></DIV><DIV><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-size: 7.5pt"><FONT face=Verdana size=2></FONT></SPAN>&nbsp;</DIV></DIV><DIV><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-size: 7.5pt"><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>If you set wndReportControl.PaintManager.FixedRowHeight = False the row will automatically sized to its contents. You don't need the MeasureRow event if you don't mind that rows have different heights. </FONT></SPAN></DIV><DIV><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-size: 7.5pt"><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2></FONT></SPAN>&nbsp;</DIV><DIV><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-size: 7.5pt"></SPAN>&nbsp;</DIV><DIV><DIV><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-size: 7.5pt">&nbsp;</SPAN></DIV></DIV>]]>
   </description>
   <pubDate>Sat, 19 Jul 2008 09:09:13 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11492&amp;PID=38577&amp;title=set-the-report-record-height#38577</guid>
  </item> 
  <item>
   <title><![CDATA[Set the Report Record Height. : Thanks again Aaron   That does...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11492&amp;PID=38576&amp;title=set-the-report-record-height#38576</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3545">markmark</a><br /><strong>Subject:</strong> 11492<br /><strong>Posted:</strong> 19 July 2008 at 7:49am<br /><br />Thanks again Aaron <DIV>&nbsp;</DIV><DIV>That does what I wanted.</DIV><DIV>&nbsp;</DIV><DIV>Q</DIV><DIV>Is there a way to change the row height via a single line of code,</DIV><DIV>other than using the MeasureRow event?</DIV><DIV>&nbsp;</DIV><DIV>Mark</DIV>]]>
   </description>
   <pubDate>Sat, 19 Jul 2008 07:49:45 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11492&amp;PID=38576&amp;title=set-the-report-record-height#38576</guid>
  </item> 
  <item>
   <title><![CDATA[Set the Report Record Height. : Hi,   This will auto scroll...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11492&amp;PID=38575&amp;title=set-the-report-record-height#38575</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3701">Aaron</a><br /><strong>Subject:</strong> 11492<br /><strong>Posted:</strong> 19 July 2008 at 6:15am<br /><br />Hi, <DIV>&nbsp;</DIV><DIV><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-size: 7.5pt"><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>This will auto scroll when adding another line of text:</FONT></SPAN></DIV><DIV><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-size: 7.5pt"></SPAN>&nbsp;</DIV><DIV><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-size: 7.5pt"><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>Item.EditOptions.EditControlStyle = xtpEditStyleMultiline <strong>or</strong> <strong>xtpEditStyleAutoVScroll</strong></FONT></SPAN></DIV><DIV>&nbsp;</DIV><DIV><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-size: 7.5pt"><FONT face=Verdana size=2>and set:</FONT></SPAN></DIV><DIV><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-size: 7.5pt"><strong><FONT face=Verdana size=2></FONT></strong></SPAN>&nbsp;</DIV><DIV><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-size: 7.5pt"><strong><FONT size=2>wndReportControl.PaintManager.FixedRowHeight = False</FONT></strong></SPAN></DIV><DIV><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-size: 7.5pt"><strong><FONT face=Verdana size=2></FONT></strong></SPAN>&nbsp;</DIV><DIV><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-size: 7.5pt"><FONT face=Verdana size=2>Now it&nbsp;will autosize the row&nbsp;to its contents.</FONT></SPAN></DIV><DIV><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-size: 7.5pt"></SPAN>&nbsp;</DIV>]]>
   </description>
   <pubDate>Sat, 19 Jul 2008 06:15:23 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11492&amp;PID=38575&amp;title=set-the-report-record-height#38575</guid>
  </item> 
  <item>
   <title><![CDATA[Set the Report Record Height. :  Hi   I have set the row record...]]></title>
   <link>http://forum.codejock.com/forum_posts.asp?TID=11492&amp;PID=38573&amp;title=set-the-report-record-height#38573</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://forum.codejock.com/member_profile.asp?PF=3545">markmark</a><br /><strong>Subject:</strong> 11492<br /><strong>Posted:</strong> 19 July 2008 at 4:44am<br /><br /><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt"><?:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><O:P></O:P></SPAN></P><SPAN style="FONT-SIZE: 8pt; FONT-FAMILY: Arial; mso-bidi-font-size: 12.0pt"><FONT size=2>Hi</FONT><P></P><DIV><FONT size=2></FONT>&nbsp;</DIV><DIV><FONT size=2>I have set the row record item to be multline (</FONT></SPAN><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-size: 7.5pt"><FONT size=2>Item.EditOptions.EditControlStyle = xtpEditStyleMultiline)<O:P></O:P></FONT></SPAN></DIV><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-size: 7.5pt"><FONT size=2>&nbsp;<O:P></O:P></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-size: 7.5pt"><FONT size=2>So long as the row height can take the extra line, CTRL-ENTER will work OK<O:P></O:P></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-size: 7.5pt"><FONT size=2>However if the row height is too small it will not.<O:P></O:P></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-size: 7.5pt"><FONT size=2>I have tried trapping the PreviewKeyDown event so that when KeyCode = 13 And Shift = 2 is true <SPAN style="mso-spacerun: yes">&nbsp;</SPAN>I can increase the record height.<O:P></O:P></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-size: 7.5pt"><FONT size=2>But there doesn’t seem a way of increasing the record height, other than MeasureRow event.<O:P></O:P></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-size: 7.5pt"><FONT size=2>&nbsp;<O:P></O:P></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-size: 7.5pt"><FONT size=2>Would there be an auto resize option to increase the record height as the text in the items grows.<O:P></O:P></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-size: 7.5pt"><FONT size=2>&nbsp;<O:P></O:P></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-size: 7.5pt"><FONT size=2>What I’m trying to achieve, would allow the user to type into the multiline item and the cell to resize its height as the user types<O:P></O:P></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-size: 7.5pt"><FONT size=2>&nbsp;<O:P></O:P></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-size: 7.5pt"><FONT size=2>Thanks<O:P></O:P></FONT></SPAN></P><P style="MARGIN: 0cm 0cm 0pt" ="Ms&#111;normal"><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial; mso-bidi-font-size: 7.5pt"><FONT size=2>&nbsp;<O:P></O:P></FONT></SPAN></P><SPAN style="FONT-SIZE: 8pt; COLOR: black; FONT-FAMILY: Arial; mso-fareast-font-family: 'Times New Roman'; mso-ansi-: EN-GB; mso-fareast-: EN-US; mso-bidi-: AR-SA; mso-bidi-font-size: 7.5pt">MArk</SPAN> ]]>
   </description>
   <pubDate>Sat, 19 Jul 2008 04:44:20 +0000</pubDate>
   <guid isPermaLink="true">http://forum.codejock.com/forum_posts.asp?TID=11492&amp;PID=38573&amp;title=set-the-report-record-height#38573</guid>
  </item> 
 </channel>
</rss>