>With the field marked as a readOnly why does the code still execute. What I am looking for is good clarity on my fields and when I use the enabled property the clarity is not that good. With the field marked as enabled = .F. I have played around with the background color and forecolor properties and can not come up with a good combination. If you know of one Please let me know.
>
>Thanks Randy
Randy-
You can put code in your Whn event that says something like:
IF THIS.Readonly
RETURN .F.
ENDIF
that way the control will never get focus. And you don't get the ugly visual effects of a disabled control.
Erik Moore
Clientelligence