Enable/Disable controls in forms

D

Daniel P

Hello

I've disabled some controls (text boxes and combo boxes) in my form. I've done this because I do not wat the user to be able to tab or click on the controls nor do I want them to be able to edit the info contained within them. The problem is that when the control are disabled they become shaded and the information that is contained in them become very hard to read. Is there a way of changing the shading or font color in a disabled control? Or is there a better way to achieve what I am trying to do

Daniel P
 
R

Rick Brandt

Daniel P said:
Hello,

I've disabled some controls (text boxes and combo boxes) in my form.
I've done this because I do not wat the user to be able to tab or click on
the controls nor do I want them to be able to edit the info contained
within them. The problem is that when the control are disabled they become
shaded and the information that is contained in them become very hard to
read. Is there a way of changing the shading or font color in a disabled
control? Or is there a better way to achieve what I am trying to do?

If you disable them AND lock them, then the appearance doesn't change.
 
V

Van T. Dinh

Also set the Locked Property of the Controls to Yes/True.

--
HTH
Van T. Dinh
MVP (Access)



Daniel P said:
Hello,

I've disabled some controls (text boxes and combo boxes) in my form. I've
done this because I do not wat the user to be able to tab or click on the
controls nor do I want them to be able to edit the info contained within
them. The problem is that when the control are disabled they become shaded
and the information that is contained in them become very hard to read. Is
there a way of changing the shading or font color in a disabled control? Or
is there a better way to achieve what I am trying to do?
 

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