|
-
Dec 12th, 2005, 04:46 AM
#1
Thread Starter
Addicted Member
Re: RichTextBox BackColor
 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)
Cute Member 
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|