How do I get the number of lines of text in a text box (textbox)
Source: Internet
Author: User
Text Box calculates the number of lines of text entered in a text box can be returned using SendMessage, and when a line of text is wrapped, it is treated as a new line, and the number of newline characters in the text is not simple.
Add the following API function declarations to the general declarations area of the module file.
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.