Richtextbox

P

Peter

Hi.
I have RichTextBox. There is some text.
For example cursor is in the middle of that text.
And now I would like to add some new text on the position of cursor.

Somethink like when I press CTRL+V (paste).
I try use Richtextbox.Paste, but he always get text to end.
Thanks for answers.
 
H

Herfried K. Wagner [MVP]

Peter said:
I have RichTextBox. There is some text.
For example cursor is in the middle of that text.
And now I would like to add some new text on the position of cursor.

Somethink like when I press CTRL+V (paste).
I try use Richtextbox.Paste, but he always get text to end.

Are you sure you placed the /caret/ in the middle of the text? Placing the
/cursor/ is not sufficient.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top