Hello,
How can I change the background color of a textbox when it is disabled or
readonly
Greets
Jean Paul
ON7AMI
Kevin Cummings - 22 Feb 2005 20:26 GMT
You'll probably have to create a custom textbox control and change the
background color when the control is disabled. I believe that the regualar
controls stop responding to property changes when they are disabled but if
you implement your own you can do whatever you want.
Good Luck!
> Hello,
>
[quoted text clipped - 5 lines]
> Jean Paul
> ON7AMI
Herfried K. Wagner [MVP] - 22 Feb 2005 22:05 GMT
"jean-dot-paul-at-opelwilly-dot-com" <i@a> schrieb:
> How can I change the background color of a textbox when it is disabled or
> readonly
The background color of read-only textboxes actually /can/ be changed by
assigning the desired color to its 'BackColor' property.

Signature
M S Herfried K. Wagner
M V P <URL:http://dotnet.mvps.org/>
V B <URL:http://dotnet.mvps.org/dotnet/faqs/>