[Xerte] Re: Restricting text entry field height

Dave Burnett d_b_burnett at hotmail.com
Wed Feb 9 10:27:21 GMT 2011



A sized multi-line text entry with auto scroll bar.

From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk
Date: Wed, 9 Feb 2011 10:11:41 +0000
Subject: [Xerte] Re: Restricting text entry field height



Back pedal a minute. What’s the goal again? From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 08 February 2011 16:52
To: Xerte list
Subject: [Xerte] Re: Restricting text entry field height No effect, and it has to be there because these other lines are taking effect:

longtextentry.wordWrap = true; //yesd
longtextentry.multiline = true; //yes
longtextentryid._width = 100; //nothing   


So here's what I ended up doing.
I'm trying to match TE to graphic.

<DIS>//graphic
<INT>//catch load event
<SCR>//get xywh of graphic
<SCR>//set attribs of TE
<INT>
  <TE>
  
This works correctly if scrolling is set to 1 in the TE icon.
But if I set the scroll attrib to auto, it never scrolls, text lines just continue to add till it's off screen.


From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk
Date: Tue, 8 Feb 2011 16:22:30 +0000
Subject: [Xerte] Re: Restricting text entry field heightsorry, it is simply the iconID, the rs property in this case. It refers to the textfield directly. From: xerte-bounces at lists.nottingham.ac.uk [xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett [d_b_burnett at hotmail.com]
Sent: 08 February 2011 14:23
To: Xerte list
Subject: [Xerte] Re: Restricting text entry field height
Had tried that one.
longtextentryid.txt._width = 100;

The whole interface collapses, so .txt must not be there.
I had also tried to do an inspect on id.txt and rs.txt and I get nothing.
Odd.From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk
Date: Tue, 8 Feb 2011 13:34:53 +0000
Subject: [Xerte] Re: Restricting text entry field heighticonID.txt._width From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 08 February 2011 13:25
To: Xerte list
Subject: [Xerte] Re: Restricting text entry field height OK, skip the line restriction part, scrolling is OK if auto.

Now I'm gapping on how to dynamically set the te field width/height.

te_rs.txt.._width = 400;
te_rs.txt.clip()._width = 400;

?From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk
Date: Tue, 8 Feb 2011 13:05:49 +0000
Subject: [Xerte] Re: Restricting text entry field heightYou want the returns? But to restrict lineCount? From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 08 February 2011 13:04
To: Xerte list
Subject: [Xerte] Re: Restricting text entry field height Doesn't that only give me a single entry line?
It won't take returns?From: Julian.Tenney at nottingham.ac.uk
To: xerte at lists.nottingham.ac.uk
Date: Tue, 8 Feb 2011 12:51:04 +0000
Subject: [Xerte] Re: Restricting text entry field heightmultiline = false; //hide all the borders and place on top of the graphic paper? From: xerte-bounces at lists.nottingham.ac.uk [mailto:xerte-bounces at lists.nottingham.ac.uk] On Behalf Of Dave Burnett
Sent: 08 February 2011 12:43
To: Xerte list
Subject: [Xerte] Restricting text entry field height 
Any way to set a multiline te field to a specific height without setting scrolling =1?

Idea is to give the user a set area  (think a ruled page) to enter into.
No scrollbars and no running past the bottom.

Tried a few variations with
longtextentry._height = 200;

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.
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. 

_______________________________________________ Xerte mailing list Xerte at 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. 
_______________________________________________ Xerte mailing list Xerte at 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. 
_______________________________________________ Xerte mailing list Xerte at 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. 
_______________________________________________ Xerte mailing list Xerte at 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. 
_______________________________________________
Xerte mailing list
Xerte at 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. 		 	   		  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.nottingham.ac.uk/pipermail/xerte/attachments/20110209/0288e9b4/attachment-0001.html>


More information about the Xerte mailing list