The other problem is that many other controls (like combobox, checkbox, radiobutton, ...) don't have the ReadOnly property.
>What if you make it readonly instead of disabled? Does it work better?
>
>>Hi
>>
>>I have a user that is visually impaired and who cannot read textboxes content when they are disabled.
>>
>>I have tried to inherits from the Textbox and overwrite the Paint method but I have not been able to get a a perfect textbox.
>>
>>SO what I need is a textbox on which I have the control of the BackColor and the ForeColor when Disabled.
>>
>>Any solutions ?
Éric Moreau, MCPD, Visual Developer - Visual Basic MVP
Conseiller Principal / Senior Consultant
Moer inc.
http://www.emoreau.com