Solved

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

Posted on 2009-07-01
2
495 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

Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

Join & Write a Comment

Suggested Solutions

Introduction Although it is an old technology, serial ports are still being used by many hardware manufacturers. If you develop applications in C#, Microsoft .NET framework has SerialPort class to communicate with the serial ports.  I needed to…
It was really hard time for me to get the understanding of Delegates in C#. I went through many websites and articles but I found them very clumsy. After going through those sites, I noted down the points in a easy way so here I am sharing that unde…
Access reports are powerful and flexible. Learn how to create a query and then a grouped report using the wizard. Modify the report design after the wizard is done to make it look better. There will be another video to explain how to put the final p…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

708 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

17 Experts available now in Live!

Get 1:1 Help Now