This simple tutorial helps you determine number of lines in dynamic textfield. It is not a big problem with single line diplayed textfield but with multiple lines displayed it needs a little trick and that’s reseting height of a box to single line height. It is not affecting display of textfield but it resolves bug of returning number of lines in TextField with maxscroll property.
Anyway this example is brought to you by WhiteWeedow (http://mirko.highbox.net/) and here are the files
EDIT: links are repaired, sorry for waiting !