?
Solved

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

Posted on 2004-10-15
5
Medium Priority
?
962 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 80 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

VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

Question has a verified solution.

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

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.
Real-time is more about the business, not the technology. In day-to-day life, to make real-time decisions like buying or investing, business needs the latest information(e.g. Gold Rate/Stock Rate). Unlike traditional days, you need not wait for a fe…
NetCrunch network monitor is a highly extensive platform for network monitoring and alert generation. In this video you'll see a live demo of NetCrunch with most notable features explained in a walk-through manner. You'll also get to know the philos…
In this video, Percona Solution Engineer Rick Golba discuss how (and why) you implement high availability in a database environment. To discuss how Percona Consulting can help with your design and architecture needs for your database and infrastr…

762 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