RichTextBox font color

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I am trying to hard code the color (web black) of the font for a richtextbox
control.

I set the ForeColor property, however, although this works for th ecurrent
color scheme, when I change the scheme it changes color.

For all other controls this seems to work fine. Is there another property I
should be using to change the font color for a RichTextBox?
 
weird....
you could always try Color.FromArgb(0,0,0), this shouldn't change.
this is kind of weird though....
 
Interesting Color.FromArgb(0,0,1) works (near enough to black),
Color.FromArgb(0,0,0) doesn't. Appears that it uses the system black color
which chances with different schemes.
 
strange indeed!

George said:
Interesting Color.FromArgb(0,0,1) works (near enough to black),
Color.FromArgb(0,0,0) doesn't. Appears that it uses the system black color
which chances with different schemes.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Back
Top