Get the Number of Lines of Text in an Edit Control
Category:
Forms and ControlsType:
SnippetsDifficulty:
IntermediateAuthor:
Intelligent Solutions Inc.Version Compatibility:
More information:
This method was written so it will work with a TextBox, a RichTextBox, or a custom control based on a text box that exposes the hWnd, text, and multiline properties.
Instructions: Copy the declarations and code below and paste directly into your VB project.
Declarations: