Solved

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

Posted on 2009-07-01
2
499 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 18

Expert Comment

by:DarrenD
ID: 24752923
Hi,

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

Darren
0
 
LVL 70

Accepted Solution

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

Featured Post

Creating Instructional Tutorials  

For Any Use & On Any Platform

Contextual Guidance at the moment of need helps your employees/users adopt software o& achieve even the most complex tasks instantly. Boost knowledge retention, software adoption & employee engagement with easy solution.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
HTML - Color not displaying correctly in EMAIL. 6 57
tableview is not updating 1 28
Need to sort columns in DataGridView 4 41
parsing question on dynamic concatenation 3 34
In order to hide the "ugly" records selectors (triangles) in the rowheaders, here are some suggestions. Microsoft doesn't have a direct method/property to do it. You can only hide the rowheader column. First solution, the easy way The first sol…
This article describes a simple method to resize a control at runtime.  It includes ready-to-use source code and a complete sample demonstration application.  We'll also talk about C# Extension Methods. Introduction In one of my applications…

697 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