Link to home
Start Free TrialLog in
Avatar of dvplayltd
dvplayltdFlag for Bulgaria

asked on

How to disable controls in WinForm, but without make it gray in background.

Hi experts!

  Im using C# 2008 , WinForm NET 2. I have simple textbox control which I want to be not available user to enter new data to him, but also do not want to put it disable because I get bad looking gray background. What other option I have ?
Avatar of Darren
Darren
Flag of Ireland image

Hi,

Can't you just change the BackColor property to White?

Darren
ASKER CERTIFIED SOLUTION
Avatar of Éric Moreau
Éric Moreau
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial