Windows Develop Bookmark and Share   
 index > Windows Forms General > The Color of a TextBox when it unabled.
 

The Color of a TextBox when it unabled.

Hi!

In default,when the TextBox is unabled, it's textcolor is very hard to see for me.

what colordo you choose at that state?

best regards.

yem  Tuesday, January 02, 2007 12:29 AM
You can't change the fore/back color of a disabled TextBox control. As an alternative, consider setting the ReadOnly property to True. It is not quite the same but at least it is readable.
nobugz  Tuesday, January 02, 2007 11:28 AM

Thank you!

Your guidance mothod made the TextBox characters readable.

yem  Wednesday, January 03, 2007 2:06 AM
You can't change the fore/back color of a disabled TextBox control. As an alternative, consider setting the ReadOnly property to True. It is not quite the same but at least it is readable.
nobugz  Tuesday, January 02, 2007 11:28 AM

Thank you!

Your guidance mothod made the TextBox characters readable.

yem  Wednesday, January 03, 2007 2:06 AM

You can use google to search for other answers

Custom Search

More Threads

• Making a TopMost control
• A problem in TreeView.OnBeforeLabelEdit event
• How do I know if a file copying process has finished?
• Is this Bug???
• Sound Player not supports the .wma,.mp3 fomats (Urgent.............)
• Create a new instance of a User Control each time the tab is active
• Resize a SplitContainer in real-time
• Dragging an Item to a Minimized Window on the Taskbar
• Multiple Forms showing in task bar
• C# How to make a form click-thru-able (hard to explain in one line!)