This hasn't been a common request. What is your use case for allowing a user to 
type up to, say, three lines but no more? Most UIs I've seen limit the number 
of characters you can type, not the number of lines.

I think you have two choices: use the 'textInput' event to limit the amount of 
text that goes in, or use the 'change' event to remove excess text that has 
already gone in.

Which are you trying, and what problems are you running into?

Gordon Smith
Adobe Flex SDK Team

From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of 
tchredeemed
Sent: Wednesday, December 03, 2008 7:09 AM
To: [email protected]
Subject: [flexcoders] Flex TextArea Limited by number of lines.


Has anyone ever done this? Seen any tutorials on this? It seems that a
good amount of people would want something like this.

I keep running into issues with it, and it is very frustrating!

Reply via email to