473,320 Members | 2,162 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,320 software developers and data experts.

nutsy4@comcast.net

How do I retrieve the current position of the insertion point, in columns and lines? In MS Word, in the status bar it always shows this

The code I would like is

StatusBarPanel1.Text = "Line: " + RichTextBox.LINE NUMBER???
Nov 16 '05 #1
1 1067
Hi
why don't you use the RichTextBox.GetLineFromCharIndex Method , try this
artical
http://msdn.microsoft.com/library/de...us/cpref/html/
frlrfsystemwindowsformsrichtextboxclassgetlinefrom charindextopic.asp
Mohamed Mahfouz
MEA Developer Support Center
ITworx on behalf of Microsoft EMEA GTSC

Nov 16 '05 #2

This thread has been closed and replies have been disabled. Please start a new discussion.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.