>>set Textbox.DisabledBackColor to 255,255,255
>>
>>Elmer
>
>As an alternative how about putting RETURN .F. in the when event of the textbox. This should effectively prevent editing in the textbox while at the same time preserving its appearance.
Mike,
And eliminating any possibility of easily making it NOT Readonly by Thisform.Text.ReadOnly = .F.
It isn't a good approach to use an event to do what a proeprty can do already. It is the DisabledBackColor property that is needed.