Improve company productivity with a Business Account.Sign Up

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 471
  • Last Modified:

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.
0
entronet
Asked:
entronet
1 Solution
 
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.

Join & Write a Comment

Featured Post

Get 10% Off Your First Squarespace Website

Ready to showcase your work, publish content or promote your business online? With Squarespace’s award-winning templates and 24/7 customer service, getting started is simple. Head to Squarespace.com and use offer code ‘EXPERTS’ to get 10% off your first purchase.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now