By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,534 Members | 943 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,534 IT Pros & Developers. It's quick & easy.

RichTextBox cursor

P: n/a
In a RichTextBox, how do you get/set the current location of the blinking
cursor (not the mouse cursor)?

Thanks
Nov 20 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Nathan wrote:
In a RichTextBox, how do you get/set the current location of the blinking
cursor (not the mouse cursor)?


Hi Nathan,

have a look at SelectionStart and SelectionLength. The current
Caret-Location is SelectionStart + SelectionLength.

Cheers

Arne Janning
Nov 20 '05 #2

P: n/a
Nathan wrote:
In a RichTextBox, how do you get/set the current location of the blinking
cursor (not the mouse cursor)?


Hi Nathan,

have a look at SelectionStart and SelectionLength. The current
Caret-Location is SelectionStart + SelectionLength.

Cheers

Arne Janning
Nov 20 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.