>>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?
>
>Do I code like this (e.g.) This.field1.ReadOnly = .F.?
>
>Does the DisabledBackColor work with ReadOnly?
>
>(I have not tried it yet)
>
>Chuck
Hi Chuck,
In our own framework we set DisabledForeColor=192,192,192
and DisabledBackColor=0,0,0 for TextBox and EditBox class. It works great and increases readability (guess, I already used this term in another thread today :))
If it's not broken, fix it until it is.
My Blog