|
-
Dec 24th, 2006, 01:05 PM
#1
Thread Starter
Addicted Member
[RESOLVED] [2005] RichTextBox1.BackColor
Hi,
When I change: RichTextBox1.Enabled = False
The back color change to Gray, I want to Keep the color white
How can I do it?
-
Dec 24th, 2006, 02:08 PM
#2
Addicted Member
Re: [2005] RichTextBox1.BackColor
Change the property backcolor to whatever you want it to be, that should help
VB Code:
TextBox1.BackColor = Color.Blue
Redmo
Last edited by redmo; Dec 24th, 2006 at 02:12 PM.
The universal aptitude for ineptitude makes any human accomplishment an incredible miracle -Col. John P. Stapp
Please rate the posts that have helped. Makes us feel all warm and fuzzy
-
Dec 25th, 2006, 01:16 AM
#3
Thread Starter
Addicted Member
Re: [2005] RichTextBox1.BackColor
Hi,
It's work for TextBox
But not for RichTextBox
Thanks
-
Dec 25th, 2006, 09:55 AM
#4
Re: [2005] RichTextBox1.BackColor
How about setting it as readonly.
RichTextBox1.ReadOnly = True
It will retain its colors, but not be editable.
-
Dec 25th, 2006, 09:55 AM
#5
Addicted Member
Re: [2005] RichTextBox1.BackColor
richtextbox.backcolor= color.blue
-
Dec 25th, 2006, 10:27 AM
#6
Thread Starter
Addicted Member
Re: [2005] RichTextBox1.BackColor
Hi,
The ReadOnly method done the trick.
Thanks All
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
|