Detect how many lines in txt box?

How do I detect how many lines there are in a dynamic text box? Or how high the lines are?

And can you getBytesLoaded of an externally loaded txt-file? I’m pretty sure you can’t - just checking :wink:

Thanks