Solved

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

Posted on 2009-07-01
2
496 Views
Last Modified: 2012-05-07
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 ?
0
Comment
Question by:dvplayltd
2 Comments
 
LVL 18

Expert Comment

by:DarrenD
ID: 24752923
Hi,

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

Darren
0
 
LVL 69

Accepted Solution

by:
Éric Moreau earned 500 total points
ID: 24753188
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Summary: Persistence is the capability of an application to store the state of objects and recover it when necessary. This article compares the two common types of serialization in aspects of data access, readability, and runtime cost. A ready-to…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
I designed this idea while studying technology in the classroom.  This is a semester long project.  Students are asked to take photographs on a specific topic which they find meaningful, it can be a place or situation such as travel or homelessness.…
Concerto provides fully managed cloud services and the expertise to provide an easy and reliable route to the cloud. Our best-in-class solutions help you address the toughest IT challenges, find new efficiencies and deliver the best application expe…

932 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now