Limit number of rows in a Flash Multiline Text Input

I have a textbox that I need to limit number of rows on.

PS. The user can change the font family and size in the box on the fly.
entronetAsked:
Who is Participating?
 
kishoregpCommented:
you can use the rowHeight and check
i don't have flash right now, if u want i can chk the code and send
do like this..
on keypress,
if rowheight < asneeded then
x = txtfield.text
else
txtfield.text = x
end if

this works for sure, i have used in my projects
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.