954,500 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

font and color dialog for richTextBox1

Hi,

I'm trying to make a notepad in Visual Studio 2010 but I have a problem.
I want to edit the font and color for richTextBox1, but it wont work.
Here's the code:

private void fontToolStripMenuItem_Click(object sender, EventArgs e)
        {
            fontDialog1.ShowDialog();
        }

        private void colorToolStripMenuItem_Click(object sender, EventArgs e)
        {
            colorDialog1.ShowDialog();
        }
LordRiq
Newbie Poster
3 posts since Jul 2011
Reputation Points: 10
Solved Threads: 0
 

Where do you save the results of these dialogs? Where do you set the RTF font and color?

Momerath
Nearly a Senior Poster
3,384 posts since Aug 2010
Reputation Points: 1,232
Solved Threads: 558
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: