Changing BackColor in Disabled textboxes

G

Guest

I have a windows form for editing a table. In Inquiry mode, I disable the
textboxes so unwanted updates dont occur. This causes the backcolor and
forecolor to go gray, making the text hard to read. I can change the
backcolor to white, but the forecolor stays gray. .forecolor properties seem
to be overridden by
textbox .enabled = false. Also, combo boxes still have a gray backcolor,
even if I set it's backcolor to white.

So how can I:
Change the forecolor property of a disabled textbox
Change the backcolor property of a disabled combo box
Thanks
Thanks
 
G

Guest

I am also trying to find an answer to this not only for textboxes but for all
other controls as well. Can anyone help?
 

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

Top