>>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. ReadOnly still allows the field to be selected, but not changed. Enabled (.F.) does not allow the field to be selected.
>Do I code like this (e.g.) This.field1.ReadOnly = .F.?
.T. to make it ReadOnly. If you're actually in your own object, it's just
This.ReadOnly = .T.
>Does the DisabledBackColor work with ReadOnly?
>
>(I have not tried it yet)
No, since it's not disabled.