Subclass, get to the internal TextField and get numLines.  There are
other apis on TextField to get line content

 

________________________________

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of kramus0
Sent: Tuesday, October 23, 2007 9:34 AM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Number of lines in <mx:text/>

 

This might be fairly simple but how can I find out how many lines a
text contains? If I for instance assign some long text to a text field
it is separated in different lines if the control height is big enough.

So how can I find out how many lines are there and what their content
is?

Thanks a lot.

Markus 

 

Reply via email to