Click here to Skip to main content
14,694,027 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
I want to insert one element in RichTextBox at the end so I want a method in which I can specify the position at which I am inserting.
Please help me.
Or, there is a table in richtextbox like word so I can print in last row.
I had used the method richtextbox.Append(); but the text appears at the end of the Previous text so give me solution for that.
Updated 26-Dec-10 0:57am
JF2015 26-Dec-10 5:58am
Edited to improve spelling and grammar.

1 solution

You probably need to set the caret position (either with the CaretPosition property or with Select(pos, pos) method), and then insert the text at that point.


This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900