Quote Originally Posted by Hack
Try
Code:
private void Detail_Format(object sender, System.EventArgs eArgs) 
{ 
    RichTextBox1.BackColor = System.Drawing.Color.DarkGoldenrod; 
}
This works for the entire richtextbox. I dont want to change the backcolor of the entire RichTextBox only of the selected text in the rich text box. The RichTextBox might contain more than 2 words in it. If a portion of the 1st word is selected, then the back color of the selected portion should change (of course this will be in button click event or some thing compatible)