|
-
May 23rd, 2007, 08:27 AM
#1
Thread Starter
Junior Member
[RESOLVED] Change forcolor of a readonly textbox
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
-
May 23rd, 2007, 09:01 AM
#2
Re: Change forcolor of a readonly textbox
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.
-
May 23rd, 2007, 09:14 AM
#3
Thread Starter
Junior Member
Re: Change forcolor of a readonly textbox
Thanks bg.
Did the trick.
Wouldn't have picked that in a million years..Cheers
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|