PC Review


Reply
Thread Tools Rate Thread

Changing Detail BackColor in VB.Net

 
 
Lumpierbritches
Guest
Posts: n/a
 
      4th Mar 2004
Thank you in advance for any and all assistance. I have a group of checkboxes;
when the female gender is checked, I would like to change the backcolor
property to reflect (pink) and if the checkbox male is checked to change the
backcolor property to lightblue.

In Access it's Me.Detail.BackColor = (color)

When I try BackColor.Color(Pink) I get it's undeclared or something.

Michael
 
Reply With Quote
 
 
 
 
Ken Tucker [MVP]
Guest
Posts: n/a
 
      4th Mar 2004
Hi,

CheckBox1.BackColor = Color.Pink



Ken

---------------

"Lumpierbritches" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Thank you in advance for any and all assistance. I have a group of

checkboxes;
> when the female gender is checked, I would like to change the backcolor
> property to reflect (pink) and if the checkbox male is checked to change

the
> backcolor property to lightblue.
>
> In Access it's Me.Detail.BackColor = (color)
>
> When I try BackColor.Color(Pink) I get it's undeclared or something.
>
> Michael



 
Reply With Quote
 
Lumpierbritches
Guest
Posts: n/a
 
      4th Mar 2004
Ken, Thank you, this however only changes the ckBox.Property BackColor. I'm
trying to change the Forms.Detail.BackColor when the ckBox is checked.


 
Reply With Quote
 
Ken Tucker [MVP]
Guest
Posts: n/a
 
      4th Mar 2004
Hi,

The form does not have a detail property. You can change the forms
backcolor.

Ken
-------------
"Lumpierbritches" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Ken, Thank you, this however only changes the ckBox.Property BackColor.

I'm
> trying to change the Forms.Detail.BackColor when the ckBox is checked.
>
>



 
Reply With Quote
 
Lumpierbritches
Guest
Posts: n/a
 
      4th Mar 2004
How do I change the background color of the form, when the ckBox.checked =
True?

Michael
 
Reply With Quote
 
Herfried K. Wagner [MVP]
Guest
Posts: n/a
 
      4th Mar 2004
* (E-Mail Removed) (Lumpierbritches) scripsit:
> How do I change the background color of the form, when the ckBox.checked =
> True?


Why did you start a new thread?!

--
Herfried K. Wagner [MVP]
<http://dotnet.mvps.org/>
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to change the backcolor of the ListView (Detail mode) when lostfocus linuxfedora Microsoft C# .NET 0 24th Mar 2010 09:58 AM
Changing BackColor Sash Microsoft Access VBA Modules 1 10th Sep 2008 03:26 AM
Changing backcolor =?Utf-8?B?U2VjcmV0IFNxdWlycmVs?= Microsoft Access 15 6th Aug 2006 05:03 AM
Changing backcolor of commandbutton scottnshelly Microsoft Excel Programming 2 22nd Apr 2004 11:27 PM
Formatting Detail Backcolor Barry F Microsoft Access Reports 2 17th Nov 2003 06:02 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:49 AM.