Question on System.Drawing.SystemColors.Window

  • Thread starter Thread starter OC
  • Start date Start date
O

OC

I have a readonly textbox that displays a message in Red under certain
conditions and default if not. It defaults to "grey" initially (the readonly
color), however, if I switch it back to default using
"textBoxArray.BackColor = System.Drawing.SystemColors.Window;", it
displays as White, making it appear to be an editable textbox.

Shouldn't it use the default for readonly?
 
Back
Top