Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

font colour in text that is not enabled

Status
Not open for further replies.

amberH

Programmer
Jun 10, 2002
36
CA
Hi there,
I have a section on a form that I want to keep not enabled (good grammar I know) but the problem is that when it is greyed out and the text is grey, it is very hard to read.
I have a list of items beside a list box, and it was confusing having it enabled, the user was trying to select the item there.
Is it possible to change the colour of a text box that isn't enabled? Or somehow make it more readable?
Thanks,
amber
 
If this are is never to be enabled then change it to labels. If it has to be enabled occationally then instead of .enabled = false try .locked = true

Just a thought.
 
Whenever I want something disabled I set enabled = false and locked = true. This doesn't change the look to grey. Maq [americanflag]
<insert witty signature here>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top