Title: field calculations

What is the proper or best way of calculating the number of lines that are in the visible part of a field?  In other words, if I put "1" &cr& "2" &cr& "3"... etc. into the field, what would be the highest number visible in a non-scrolling field?

A first guess would be the (height of the field)/(textHeight of the field), but what about margins and borders?

What about ((height of the field)-(topMargin of the field)-(bottomMargin of the field))/(textHeight of the field)?


-- D

Reply via email to