I have many disabled text fields on my forms. They work fine and don't let
the cursor in, but they are very hard to read. How can I change the
foreground and background properties of my diabled text fields?
Thanks much!
Instead of disabling them with the Enabled property, just lock them with the
Locked property. Then you can change the Backcolor property too.

Signature
--Roger Carlson
Access Database Samples: www.rogersaccesslibrary.com
Want answers to your Access questions in your Email?
Free subscription:
http://peach.ease.lsoft.com/scripts/wa.exe?SUBED1=ACCESS-L
> I have many disabled text fields on my forms. They work fine and don't let
> the cursor in, but they are very hard to read. How can I change the
> foreground and background properties of my diabled text fields?
>
> Thanks much!
You are probably using the Enabled property of the text box set to No. This
greys the control out and makes it hard to read. Instead, use the Locked
property set to Yes. The control appears normal, but cannot be changed. The
only difference is that the Tab will position the cursor in the text box. If
you want the Tab to bypass the control, set the Tab property to No.
> I have many disabled text fields on my forms. They work fine and don't let
> the cursor in, but they are very hard to read. How can I change the
> foreground and background properties of my diabled text fields?
>
> Thanks much!
John Spencer - 06 Dec 2005 18:49 GMT
Alternatively, set BOTH.properties.
Set Enabled to False (No)
Set Locked to True (Yes)
> You are probably using the Enabled property of the text box set to No.
> This
[quoted text clipped - 11 lines]
>>
>> Thanks much!
Klatuu - 06 Dec 2005 19:09 GMT
I believe I covered that, but not as explicitly as you did:
Instead, use the Locked
property set to Yes
> Alternatively, set BOTH.properties.
> Set Enabled to False (No)
[quoted text clipped - 15 lines]
> >>
> >> Thanks much!