By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
424,851 Members | 1,308 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 424,851 IT Pros & Developers. It's quick & easy.

Locked and not enabled text boxes are now gray

P: n/a
Hi:

It used to be that when you wanted to prevent a user from accessing
information in a text or combo box, you would set the properties:

TextBox.Enabled=False
TextBox.Locked=True

This would display the information and retain the box's standard
format. Well now in my Access 2003 system, I am getting non-legacy
text boxes having grayed letters in the box and the label, like Access
used to do for:

TextBox.Enabled=False
TextBox.Locked=False

boxes. To stop the letters from being grayed, I now have to set:

TextBox.Enabled=True
TextBox.Locked=True

and turn off the tab stop. This gives me the black lettering, but
users can still highlight the text box by clicking on it.

Is there someway I can go back to:

TextBox.Enabled=False
TextBox.Locked=True

and having the lettering not be grayed.

Peter

Nov 13 '05 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.