Solved

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

Posted on 2004-10-15
5
943 Views
Last Modified: 2008-01-09
how to set fore color of a text in a disabled textbox
0
Comment
Question by:meenasree
5 Comments
 
LVL 7

Accepted Solution

by:
God_Ares earned 20 total points
Comment Utility
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
Comment Utility
0
 
LVL 10

Expert Comment

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

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Extention Methods in C# 3.0 by Ivo Stoykov C# 3.0 offers extension methods. They allow extending existing classes without changing the class's source code or relying on inheritance. These are static methods invoked as instance method. This…
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…
This video gives you a great overview about bandwidth monitoring with SNMP and WMI with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're looking for how to monitor bandwidth using netflow or packet s…
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…

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

Need Help in Real-Time?

Connect with top rated Experts

7 Experts available now in Live!

Get 1:1 Help Now