L
LeAnne
If the user types some text into a rich textbox, i need to know how many
lines there are in the control.
Note, I'm not interested in counting the number of the carriage returns or
line feeds.
Suppose, the rich text is the height of a textbox (can view only one line at
a time), then if the user keeps typing and word wrap = TRUE and multi line =
TRUE, then it goes to the new line.
What i'd like to do is to automatically increase the height of the rich
textbox control to display all the text (increasing the height of the
control as and when needed).
But by default the height will be for one row (one line only).
How can i do this?
lines there are in the control.
Note, I'm not interested in counting the number of the carriage returns or
line feeds.
Suppose, the rich text is the height of a textbox (can view only one line at
a time), then if the user keeps typing and word wrap = TRUE and multi line =
TRUE, then it goes to the new line.
What i'd like to do is to automatically increase the height of the rich
textbox control to display all the text (increasing the height of the
control as and when needed).
But by default the height will be for one row (one line only).
How can i do this?