>>Try the DisabledBackColor property. - also, keep in mind that Enabled = .F. will set the fore color to the DisabledForeColor, whereas ReadOnly = .F. won't.
>
>
>Are the ReadOnly and Enabled same thing?
>
No. Enabled = .F. prevents the control from receiving focus, ReadOnly = .T. allows the control to receive focus, but it does not update its bound field (if any).
>Do I code like this (e.g.) This.field1.ReadOnly = .F.?
That would make it available - it seems you want it to be unavailable, so it would be
this.field1.ReadOnly = .T.
>
>Does the DisabledBackColor work with ReadOnly?
Yes.
>
>(I have not tried it yet)
>
>Chuck
Insanity: Doing the same thing over and over and expecting different results.