Evening,
I have a readonly textbox which I want to display red text.
Changing the forecolor property does not work when its readonly.
I do not particularily want to use a label.
Does anyone have any suggestions, workarounds?
Cheers
Printable View
Evening,
I have a readonly textbox which I want to display red text.
Changing the forecolor property does not work when its readonly.
I do not particularily want to use a label.
Does anyone have any suggestions, workarounds?
Cheers
It's kind of goofy. You'll need to change the Backcolor property to a regular color first, not a control color, then change your Forecolor, then you can change the Backcolor back to a standard control color if you want. Otherwise it will continue to use the system settings. I guess this has something to do with the way the designer picks up and auto-codes color changes.
Thanks bg.
Did the trick.
Wouldn't have picked that in a million years..Cheers