J
JBA
In a form, I have a text box in which memo text wraps. Is there any code
that can count the number of lines of text that display in the textbox?
My only workaround at this point is to use a non-proportional font like
Courier, count the characters and divide by the number of characters that a
line might contain. Unfortunately, this approach only gives me a rough
estimate of the number of lines. And I'm stuck with Courier when I prefer
Arial.
Is there another way to count lines of text?
Thanks.
Jim
that can count the number of lines of text that display in the textbox?
My only workaround at this point is to use a non-proportional font like
Courier, count the characters and divide by the number of characters that a
line might contain. Unfortunately, this approach only gives me a rough
estimate of the number of lines. And I'm stuck with Courier when I prefer
Arial.
Is there another way to count lines of text?
Thanks.
Jim