<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 10pt;
font-family:Tahoma
}
--></style>
</head>
<body class='hmmessage'>
No effect, and it has to be there because these other lines are taking effect:<br><br>longtextentry.wordWrap = true; //yesd<br>longtextentry.multiline = true; //yes<br>longtextentryid._width = 100; //nothing   <br><br><br>So here's what I ended up doing.<br>I'm trying to match TE to graphic.<br><br><DIS>//graphic<br><INT>//catch load event<br><SCR>//get xywh of graphic<br><SCR>//set attribs of TE<br><INT><br>  <TE><br>  <br>This works correctly if scrolling is set to 1 in the TE icon.<br>But if I set the scroll attrib to auto, it never scrolls, text lines just continue to add till it's off screen.<br><br><br><br><hr id="stopSpelling">From: Julian.Tenney@nottingham.ac.uk<br>To: xerte@lists.nottingham.ac.uk<br>Date: Tue, 8 Feb 2011 16:22:30 +0000<br>Subject: [Xerte] Re: Restricting text entry field height<br><br>
<meta http-equiv="Content-Type" content="text/html; charset=unicode">
<meta name="Generator" content="Microsoft SafeHTML">

<style>
.ExternalClass .ecxhmmessage P
{padding-right:0px;padding-left:0px;padding-bottom:0px;padding-top:0px;}
.ExternalClass BODY.ecxhmmessage
{font-size:10pt;font-family:Tahoma;}
</style>

<style>
</style><style title="owaParaStyle">
.ExternalClass P
{margin-bottom:0px;}

</style>


<div style="font-size: 13px; color: rgb(0, 0, 0); direction: ltr; font-family: Tahoma;">
<div>sorry, it is simply the iconID, the rs property in this case. It refers to the textfield directly.</div>
<div dir="ltr"><font color="#000000" face="Tahoma" size="2"></font> </div>
<div id="ecxdivRpF923120" style="direction: ltr;">
<hr>
<font color="#000000" face="Tahoma" size="2"><b>From:</b> xerte-bounces@lists.nottingham.ac.uk [xerte-bounces@lists.nottingham.ac.uk] On Behalf Of Dave Burnett [d_b_burnett@hotmail.com]<br>
<b>Sent:</b> 08 February 2011 14:23<br>
<b>To:</b> Xerte list<br>
<b>Subject:</b> [Xerte] Re: Restricting text entry field height<br>
</font><br>
</div>
<div></div>
<div><br>
Had tried that one.<br>
longtextentryid.txt._width = 100;<br>
<br>
The whole interface collapses, so .txt must not be there.<br>
I had also tried to do an inspect on id.txt and rs.txt and I get nothing.<br>
Odd.<br>
<br>
<hr id="ecxstopSpelling">
From: Julian.Tenney@nottingham.ac.uk<br>
To: xerte@lists.nottingham.ac.uk<br>
Date: Tue, 8 Feb 2011 13:34:53 +0000<br>
Subject: [Xerte] Re: Restricting text entry field height<br>
<br>
<style>
</style><style>
@page WordSection1
{;}
.ExternalClass P.ecxMsoNormal
{font-size:12pt;margin-bottom:0pt;font-family:'Times New Roman','serif';}
.ExternalClass LI.ecxMsoNormal
{font-size:12pt;margin-bottom:0pt;font-family:'Times New Roman','serif';}
.ExternalClass DIV.ecxMsoNormal
{font-size:12pt;margin-bottom:0pt;font-family:'Times New Roman','serif';}
.ExternalClass A:link
{color:blue;text-decoration:underline;}
.ExternalClass SPAN.ecxMsoHyperlink
{color:blue;text-decoration:underline;}
.ExternalClass A:visited
{color:purple;text-decoration:underline;}
.ExternalClass SPAN.ecxMsoHyperlinkFollowed
{color:purple;text-decoration:underline;}
.ExternalClass P
{font-size:12pt;margin-left:0cm;margin-right:0cm;font-family:'Times New Roman','serif';}
.ExternalClass P.ecxecxmsonormal
{font-size:12pt;margin-left:0cm;margin-right:0cm;font-family:'Times New Roman','serif';}
.ExternalClass LI.ecxecxmsonormal
{font-size:12pt;margin-left:0cm;margin-right:0cm;font-family:'Times New Roman','serif';}
.ExternalClass DIV.ecxecxmsonormal
{font-size:12pt;margin-left:0cm;margin-right:0cm;font-family:'Times New Roman','serif';}
.ExternalClass P.ecxecxecxmsonormal
{font-size:12pt;margin-left:0cm;margin-right:0cm;font-family:'Times New Roman','serif';}
.ExternalClass LI.ecxecxecxmsonormal
{font-size:12pt;margin-left:0cm;margin-right:0cm;font-family:'Times New Roman','serif';}
.ExternalClass DIV.ecxecxecxmsonormal
{font-size:12pt;margin-left:0cm;margin-right:0cm;font-family:'Times New Roman','serif';}
.ExternalClass P.ecxecxecxmsochpdefault
{font-size:12pt;margin-left:0cm;margin-right:0cm;font-family:'Times New Roman','serif';}
.ExternalClass LI.ecxecxecxmsochpdefault
{font-size:12pt;margin-left:0cm;margin-right:0cm;font-family:'Times New Roman','serif';}
.ExternalClass DIV.ecxecxecxmsochpdefault
{font-size:12pt;margin-left:0cm;margin-right:0cm;font-family:'Times New Roman','serif';}
.ExternalClass P.ecxecxecxmsonormal1
{font-size:12pt;margin-left:0cm;margin-right:0cm;font-family:'Times New Roman','serif';}
.ExternalClass LI.ecxecxecxmsonormal1
{font-size:12pt;margin-left:0cm;margin-right:0cm;font-family:'Times New Roman','serif';}
.ExternalClass DIV.ecxecxecxmsonormal1
{font-size:12pt;margin-left:0cm;margin-right:0cm;font-family:'Times New Roman','serif';}
.ExternalClass P.ecxecxecxmsochpdefault1
{font-size:12pt;margin-left:0cm;margin-right:0cm;font-family:'Times New Roman','serif';}
.ExternalClass LI.ecxecxecxmsochpdefault1
{font-size:12pt;margin-left:0cm;margin-right:0cm;font-family:'Times New Roman','serif';}
.ExternalClass DIV.ecxecxecxmsochpdefault1
{font-size:12pt;margin-left:0cm;margin-right:0cm;font-family:'Times New Roman','serif';}
.ExternalClass P.ecxecxmsochpdefault
{font-size:12pt;margin-left:0cm;margin-right:0cm;font-family:'Times New Roman','serif';}
.ExternalClass LI.ecxecxmsochpdefault
{font-size:12pt;margin-left:0cm;margin-right:0cm;font-family:'Times New Roman','serif';}
.ExternalClass DIV.ecxecxmsochpdefault
{font-size:12pt;margin-left:0cm;margin-right:0cm;font-family:'Times New Roman','serif';}
.ExternalClass P.ecxecxmsonormal1
{font-size:12pt;margin-bottom:0pt;margin-left:0cm;margin-right:0cm;font-family:'Times New Roman','serif';}
.ExternalClass LI.ecxecxmsonormal1
{font-size:12pt;margin-bottom:0pt;margin-left:0cm;margin-right:0cm;font-family:'Times New Roman','serif';}
.ExternalClass DIV.ecxecxmsonormal1
{font-size:12pt;margin-bottom:0pt;margin-left:0cm;margin-right:0cm;font-family:'Times New Roman','serif';}
.ExternalClass SPAN.ecxecxmsohyperlink1
{color:blue;text-decoration:underline;}
.ExternalClass SPAN.ecxecxmsohyperlinkfollowed1
{color:purple;text-decoration:underline;}
.ExternalClass P.ecxecxecxmsonormal2
{font-size:12pt;margin-left:0cm;margin-right:0cm;font-family:'Times New Roman','serif';}
.ExternalClass LI.ecxecxecxmsonormal2
{font-size:12pt;margin-left:0cm;margin-right:0cm;font-family:'Times New Roman','serif';}
.ExternalClass DIV.ecxecxecxmsonormal2
{font-size:12pt;margin-left:0cm;margin-right:0cm;font-family:'Times New Roman','serif';}
.ExternalClass P.ecxecxecxmsochpdefault2
{font-size:12pt;margin-left:0cm;margin-right:0cm;font-family:'Times New Roman','serif';}
.ExternalClass LI.ecxecxecxmsochpdefault2
{font-size:12pt;margin-left:0cm;margin-right:0cm;font-family:'Times New Roman','serif';}
.ExternalClass DIV.ecxecxecxmsochpdefault2
{font-size:12pt;margin-left:0cm;margin-right:0cm;font-family:'Times New Roman','serif';}
.ExternalClass P.ecxecxecxmsonormal11
{font-size:12pt;margin-bottom:0pt;margin-left:0cm;margin-right:0cm;font-family:'Times New Roman','serif';}
.ExternalClass LI.ecxecxecxmsonormal11
{font-size:12pt;margin-bottom:0pt;margin-left:0cm;margin-right:0cm;font-family:'Times New Roman','serif';}
.ExternalClass DIV.ecxecxecxmsonormal11
{font-size:12pt;margin-bottom:0pt;margin-left:0cm;margin-right:0cm;font-family:'Times New Roman','serif';}
.ExternalClass SPAN.ecxecxecxmsohyperlink11
{color:blue;text-decoration:underline;}
.ExternalClass SPAN.ecxecxecxmsohyperlinkfollowed11
{color:purple;text-decoration:underline;}
.ExternalClass SPAN.ecxecxecxemailstyle1811
{color:#1f497d;font-family:'Calibri','sans-serif';}
.ExternalClass P.ecxecxecxmsochpdefault11
{font-size:10pt;margin-left:0cm;margin-right:0cm;font-family:'Times New Roman','serif';}
.ExternalClass LI.ecxecxecxmsochpdefault11
{font-size:10pt;margin-left:0cm;margin-right:0cm;font-family:'Times New Roman','serif';}
.ExternalClass DIV.ecxecxecxmsochpdefault11
{font-size:10pt;margin-left:0cm;margin-right:0cm;font-family:'Times New Roman','serif';}
.ExternalClass SPAN.ecxecxemailstyle281
{color:#1f497d;font-family:'Calibri','sans-serif';}
.ExternalClass P.ecxecxmsochpdefault1
{font-size:10pt;margin-left:0cm;margin-right:0cm;font-family:'Times New Roman','serif';}
.ExternalClass LI.ecxecxmsochpdefault1
{font-size:10pt;margin-left:0cm;margin-right:0cm;font-family:'Times New Roman','serif';}
.ExternalClass DIV.ecxecxmsochpdefault1
{font-size:10pt;margin-left:0cm;margin-right:0cm;font-family:'Times New Roman','serif';}
.ExternalClass SPAN.ecxEmailStyle42
{color:#1f497d;font-family:'Calibri','sans-serif';}
.ExternalClass .ecxMsoChpDefault
{font-size:10pt;}
.ExternalClass DIV.ecxWordSection1
{;}
</style>
<div class="ecxWordSection1">
<p class="ecxMsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125); font-family: 'Calibri','sans-serif';">iconID.txt._width</span></p>
<p class="ecxMsoNormal"><span style="font-size: 11pt; color: rgb(31, 73, 125); font-family: 'Calibri','sans-serif';"></span> </p>
<div>
<div style="border-right: medium none; padding: 3pt 0cm 0cm; border-width: 1pt medium medium; border-style: solid none none; border-color: -moz-use-text-color;">
<p class="ecxMsoNormal" style="margin-left: 36pt;"><b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';" lang="EN-US">From:</span></b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';" lang="EN-US"> xerte-bounces@lists.nottingham.ac.uk
 [mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Dave Burnett<br>
<b>Sent:</b> 08 February 2011 13:25<br>
<b>To:</b> Xerte list<br>
<b>Subject:</b> [Xerte] Re: Restricting text entry field height</span></p>
</div>
</div>
<p class="ecxMsoNormal" style="margin-left: 36pt;"> </p>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';">OK, skip the line restriction part, scrolling is OK if auto.<br>
<br>
Now I'm gapping on how to dynamically set the te field width/height.<br>
<br>
te_rs.txt.._width = 400;<br>
te_rs.txt.clip()._width = 400;<br>
<br>
?</span></p>
<div class="ecxMsoNormal" style="margin-left: 36pt; text-align: center;" align="center">
<span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';">
<hr id="ecxstopSpelling" align="center" width="100%" size="2">
</span></div>
<p class="ecxMsoNormal" style="margin-bottom: 12pt; margin-left: 36pt; margin-right: 0cm;">
<span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';">From: Julian.Tenney@nottingham.ac.uk<br>
To: xerte@lists.nottingham.ac.uk<br>
Date: Tue, 8 Feb 2011 13:05:49 +0000<br>
Subject: [Xerte] Re: Restricting text entry field height</span></p>
<div>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 11pt; color: rgb(31, 73, 125); font-family: 'Calibri','sans-serif';">You want the returns? But to restrict lineCount?</span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"></span></p>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 11pt; color: rgb(31, 73, 125); font-family: 'Calibri','sans-serif';"></span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"></span> </p>
<div>
<div style="border-right: medium none; padding: 3pt 0cm 0cm; border-width: 1pt medium medium; border-style: solid none none; border-color: -moz-use-text-color;">
<p class="ecxMsoNormal" style="margin-left: 72pt;"><b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';" lang="EN-US">From:</span></b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';" lang="EN-US"> xerte-bounces@lists.nottingham.ac.uk
 [mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Dave Burnett<br>
<b>Sent:</b> 08 February 2011 13:04<br>
<b>To:</b> Xerte list<br>
<b>Subject:</b> [Xerte] Re: Restricting text entry field height</span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"></span></p>
</div>
</div>
<p class="ecxMsoNormal" style="margin-left: 72pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"></span> </p>
<p class="ecxMsoNormal" style="margin-bottom: 12pt; margin-left: 72pt; margin-right: 0cm;">
<span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';">Doesn't that only give me a single entry line?<br>
It won't take returns?</span></p>
<div style="margin-left: 36pt;">
<div class="ecxMsoNormal" style="margin-left: 36pt; text-align: center;" align="center">
<span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';">
<hr align="center" width="100%" size="2">
</span></div>
</div>
<p class="ecxMsoNormal" style="margin-bottom: 12pt; margin-left: 72pt; margin-right: 0cm;">
<span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';">From: Julian.Tenney@nottingham.ac.uk<br>
To: xerte@lists.nottingham.ac.uk<br>
Date: Tue, 8 Feb 2011 12:51:04 +0000<br>
Subject: [Xerte] Re: Restricting text entry field height</span></p>
<div>
<p class="ecxMsoNormal" style="margin-left: 72pt;"><span style="font-size: 11pt; color: rgb(31, 73, 125); font-family: 'Calibri','sans-serif';">multiline = false; //hide all the borders and place on top of the graphic paper?</span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"></span></p>
<p class="ecxMsoNormal" style="margin-left: 72pt;"><span style="font-size: 11pt; color: rgb(31, 73, 125); font-family: 'Calibri','sans-serif';"></span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"></span> </p>
<div>
<div style="border-right: medium none; padding: 3pt 0cm 0cm; border-width: 1pt medium medium; border-style: solid none none; border-color: -moz-use-text-color;">
<p class="ecxMsoNormal" style="margin-left: 108pt;"><b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';" lang="EN-US">From:</span></b><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';" lang="EN-US"> xerte-bounces@lists.nottingham.ac.uk
 [mailto:xerte-bounces@lists.nottingham.ac.uk] <b>On Behalf Of </b>Dave Burnett<br>
<b>Sent:</b> 08 February 2011 12:43<br>
<b>To:</b> Xerte list<br>
<b>Subject:</b> [Xerte] Restricting text entry field height</span><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"></span></p>
</div>
</div>
<p class="ecxMsoNormal" style="margin-left: 108pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"></span> </p>
<p class="ecxMsoNormal" style="margin-left: 108pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"><br>
Any way to set a multiline te field to a specific height without setting scrolling =1?<br>
<br>
Idea is to give the user a set area  (think a ruled page) to enter into.<br>
No scrollbars and no running past the bottom.<br>
<br>
Tried a few variations with<br>
longtextentry._height = 200;<br>
<br>
but as soon as I turn scrolling off, the tf just keeps expanding downwards, and if I turn scrolling on, well, the darn thing scrolls.</span></p>
</div>
<p class="ecxMsoNormal" style="margin-left: 72pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"><br>
This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information
 contained in this message or in any attachment. Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.
<br>
This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own checks. Email communications with the University of Nottingham may be
 monitored as permitted by UK legislation. <br>
<br>
_______________________________________________ Xerte mailing list Xerte@lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any attachment are intended solely for the addressee and may contain confidential information.
 If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email
 do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own
 checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
</span></p>
</div>
<p class="ecxMsoNormal" style="margin-left: 36pt;"><span style="font-size: 10pt; font-family: 'Tahoma','sans-serif';"><br>
_______________________________________________ Xerte mailing list Xerte@lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any attachment are intended solely for the addressee and may contain confidential information.
 If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email
 do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own
 checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
</span></p>
</div>
<br>
_______________________________________________ Xerte mailing list Xerte@lists.nottingham.ac.uk http://lists.nottingham.ac.uk/mailman/listinfo/xerte This message and any attachment are intended solely for the addressee and may contain confidential information.
 If you have received this message in error, please send it back to me, and immediately delete it. Please do not use, copy or disclose the information contained in this message or in any attachment. Any views or opinions expressed by the author of this email
 do not necessarily reflect the views of the University of Nottingham. This message has been checked for viruses but the contents of an attachment may still contain software viruses which could damage your computer system: you are advised to perform your own
 checks. Email communications with the University of Nottingham may be monitored as permitted by UK legislation.
</div>
</div>



<br>_______________________________________________
Xerte mailing list
Xerte@lists.nottingham.ac.uk
http://lists.nottingham.ac.uk/mailman/listinfo/xerte

This message and any attachment are intended solely for the addressee and may contain confidential information. If you have received this message in error, please send it back to me, and immediately delete it.   Please do not use, copy or disclose the information contained in this message or in any attachment.  Any views or opinions expressed by the author of this email do not necessarily reflect the views of the University of Nottingham.

This message has been checked for viruses but the contents of an attachment
may still contain software viruses which could damage your computer system:
you are advised to perform your own checks. Email communications with the
University of Nottingham may be monitored as permitted by UK legislation.                                         </body>
</html>