# Detect number of lines in dynamic textfield

**URL:** <https://forum.kirupa.com/t/detect-number-of-lines-in-dynamic-textfield/48416>\
**Category:** flash\
**Created:** [April 13, 2004, 11:33am UTC](https://forum.kirupa.com/t/detect-number-of-lines-in-dynamic-textfield/48416 "2004-04-13T11:33:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![griffen](https://avatars.discourse-cdn.com/v4/letter/g/7ab992/32.png) [@griffen](https://forum.kirupa.com/u/griffen)\
**Post date:** [April 13, 2004, 11:33am UTC](https://forum.kirupa.com/t/detect-number-of-lines-in-dynamic-textfield/48416/1 "2004-04-13T11:33:28Z")

</div>

I’ve been trying to detect the number of lines used in a dynamic textfield without any luck. I have tried using the scroll property of a field which didn’t work (Find my attempt attached) Does anyone have any suggestions?

Thanks.
