read-only textbox

Started by Fred Tomke, March 18, 2010, 05:15:16 PM

Previous topic - Next topic

Fred Tomke

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
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

owenwengerd

I'd say it should turn gray and ignore the background color. If not, I'd call it a bug.
Owen Wengerd (Outside The Box) / ManuSoft

Fred Tomke

Thanks, I added a report.
Fred
Fred Tomke
Dipl.-Ing. (FH) Landespflege

[ landscaper - landscape developer - digital landscape and urban design]

honkinberry

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