How do I change the color of text to follow. e.g my text is as follows HI WELCOME TO
How do I change the color of the text to follow to the color blue with out selecting the text as there is none yet?
Thanks Ian
Richtext box queires
4 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Kirtan PatelRank #292 · 8.6K reputationPosted Nov 30, 2009, 3:31 PM EST
Here is Code how you can do this
//Select the Text And Press Apply Button to Change the color of selected Text
private void button1_Click(object sender, EventArgs e)
{
ColorDialog clrdlg = new ColorDialog();
if (clrdlg.ShowDialog() == DialogResult.OK)
{
richTextBox1.SelectionColor = clrdlg.Color;
}
}
Hiren SoniRank #694 · 3.5K reputationPosted Nov 30, 2009, 5:21 PM EST
Ian DD9 reputationPosted Dec 1, 2009, 1:45 PM EST
theLizardRank #1,079 · 1.8K reputationPosted Dec 2, 2009, 1:45 PM EST