Hello,
in my remembering the background color of a textbox was automatically grayed by windows if read-only was set to True.
Am I wrong here?
If I set an OpenDCL textbox to read-only, it remains white in the background. I only want to know what is consistent to Windows before changing my code.
Fred
I'd say it should turn gray and ignore the background color. If not, I'd call it a bug.
Thanks, I added a report.
Fred
I am feeling this is incorrect.
With the current behavior, there is no difference between Read-Only and Enabled.
Disabling a control sets the background to the noticeable grey.
But Read-Only should allow a white background if the users wishes (IMO). Even if requires a separate call to set background color. This would also be consistent with other platforms (http://stackoverflow.com/questions/18039901/setting-a-read-only-textbox-default-backcolor).
--J