Enable/Disable controls in forms

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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
 
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.
 
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?
 
Back
Top