Home All Groups Group Topic Archive Search About
Author
13 Apr 2005 2:37 PM
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.

Author
13 Apr 2005 4:24 PM
Herfried K. Wagner [MVP]
"Peter" <ekn***@szm.sk> schrieb:
> 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.

--
M S   Herfried K. Wagner
M V P  <URL:http://dotnet.mvps.org/>
V B   <URL:http://classicvb.org/petition/>