Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to determine line number in TextBox?

Status
Not open for further replies.

capitano

Programmer
Jul 30, 2001
88
US
Does anybody know how to determine which line number the cursor is at inside a TextBox or RichTextBox? I'd Like to be able to display a StatusBar beneath the TextBox indicating which line number, character position, etc as in MSWord and other software.

Thanks for any help,
Bryan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top