RichTextBoxControl cursor position
C#
3
Posts
3
Posters
0
Views
1
Watching
-
How can i change programaticaly the position of the caret in a RichTextBoxControl ?
-
How can i change programaticaly the position of the caret in a RichTextBoxControl ?
Use
RichTextBox.Select()
andRichTextBox.ScrollToCaret()
. Regards, mav -- Black holes are the places where god divided by 0... -
How can i change programaticaly the position of the caret in a RichTextBoxControl ?
or
RichTextBox.SelectionStart
andRichTextBox.SelectionLength
... If you just want to move the cursor, leaveRichTextBox.SelectionLength
= 0.
Try code model generation tools at BoneSoft.com.