how can change the back color of a disabled textbox?

  • Thread starter hkgary33 via AccessMonster.com
  • Start date
H

hkgary33 via AccessMonster.com

Dear all,
In order to prevent the accidental editing of records, I've set all the
textbox controls to Disabled state so that the user can't amend the records
accidentially unless one button is clicked to enable all the textboxes.
However, my colleagues complained that in such way, it's very hard for them
to view the field's data in the textbox, since it's disabled and the color is
very dim. Now, how can I do to change the color of the textbox even if it is
in disabled state?
Or should I use any other method to prevent the accidental editing of records
in textboxes?

Thanks so much!!!
Gary
 
K

Ken Snell \(MVP\)

Set the Enabled property to No and the Locked property to Yes. That will
remove the "greyed-out" color and leave the textbox looking the same as if
were unlocked and enabled.

Often, when this is done, it's good to change the Special Effect from the
default sunken value to the flat value so that the user knows/sees something
is different about the textbox.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top