Caret Position in RichTextBox

piyushw

Member
Joined
Jan 5, 2010
Messages
6
Programming Experience
1-3
How can we get the current position of caret in rich text box. is there any event to track when caret position is changed or we have o look at all (key,mouse,textchanged event)
 
SelectionStart property, SelectionChanged event.
 
It Worked Thank U

Thank u it worked actually i am creating a text editor and i wanted to show the Line Number and Column number for the current position of caret .it worked and my editor is done.
 
Back
Top