Solved

how to set fore color of a text in a disabled textbox

Posted on 2004-10-15
5
956 Views
Last Modified: 2008-01-09
how to set fore color of a text in a disabled textbox
0
Comment
Question by:meenasree
[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
5 Comments
 
LVL 7

Accepted Solution

by:
God_Ares earned 20 total points
ID: 12316714
you don't,.. if you want this you have to create your own textboxclass and inherit from textbox. override the paint,.. and when the control is disabled then you need to do some aditional drawing.

succes

regards

Floris Briolas
0
 
LVL 18

Expert Comment

by:armoghan
ID: 12317684
0
 
LVL 10

Expert Comment

by:smegghead
ID: 12318618
You could just set it to 'readonly', and change the foreground/background colours..
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Entity Framework is a powerful tool to help you interact with the DataBase but still doesn't help much when we have a Stored Procedure that returns more than one resultset. The solution takes some of out-of-the-box thinking; read on!
Calculating holidays and working days is a function that is often needed yet it is not one found within the Framework. This article presents one approach to building a working-day calculator for use in .NET.
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…

705 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