Make the text of a disabled textbox easier to see

Posted by Vaccano on Stack Overflow See other posts from Stack Overflow or by Vaccano
Published on 2010-05-19T16:43:54Z Indexed on 2010/05/19 18:10 UTC
Read the original article Hit count: 140

Filed under:
|
|

I have a text box that when it is disabled the text in it is gray and kind of dithered. (This is the standard functionality.)

Is there a way to make this easier to see?

I have tried this:

txtBoxNumber.Enabled = false;
txtBoxNumber.ForeColor = Color.Black;

and that has no effect.

NOTE: This is a .net Compact Framework app, but I am not tagging the question with CF because I think it is the same for normal .net.

© Stack Overflow or respective owner

Related posts about c#

Related posts about .NET