I'm not sure what you mean by "setting the number of lines in the TextArea component"? If you want to control where line breaks occur, put the \n character into the 'text' String.

 

To get the line position of a particular character try using getCharBoundaries() and then getLineIndexAtPoint().

 

- Gordon

 


From: flexcoders@yahoogroups.com [mailto:flexcoders@yahoogroups.com] On Behalf Of brankosli
Sent: Wednesday, October 18, 2006 1:09 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Lines in text area component

 

Is there any possibility to set number of lines in Text Area component?
and if it's possible:
How to retrieve current line position in Text Area component?

Thanx in advance.

__._,_.___

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com





SPONSORED LINKS
Software development tool Software development Software development services
Home design software Software development company

Your email settings: Individual Email|Traditional
Change settings via the Web (Yahoo! ID required)
Change settings via email: Switch delivery to Daily Digest | Switch to Fully Featured
Visit Your Group | Yahoo! Groups Terms of Use | Unsubscribe

__,_._,___

Reply via email to