richtextbox question

  • Thread starter Thread starter Eps
  • Start date Start date
E

Eps

I have a richtextbox and I want the user to be able to press a button
and have some specific text inserted in to the richtextbox at the
current position of the text cursor. I have been looking at the MSDN
docs for richtextbox but I can't seem to find the property or method
that will give me the position of the cursor.

Any help appreciated.

--
Eps

http://ukcomment.blogspot.com/

A UK political Blog
 
private void button1_Click(object sender, System.EventArgs e)

{

this.richTextBox1.SelectedText=" INSERT ME ";

}
 
Dont feel that ! We all miss the obvious from time to time, and I am no
exception, trust me !.

:)
 
Back
Top