473,508 Members | 2,250 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Changing Detail BackColor in VB.Net

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
Nov 20 '05 #1
5 3419
Hi,

CheckBox1.BackColor = Color.Pink

Ken

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

"Lumpierbritches" <lu*************@aol.com> wrote in message
news:20***************************@mb-m04.aol.com...
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

Nov 20 '05 #2
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.
Nov 20 '05 #3
Hi,

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

Ken
-------------
"Lumpierbritches" <lu*************@aol.com> wrote in message
news:20***************************@mb-m22.aol.com...
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.

Nov 20 '05 #4
How do I change the background color of the form, when the ckBox.checked =
True?

Michael
Nov 20 '05 #5
* lu*************@aol.com (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/>
Nov 20 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
4743
by: Calan | last post by:
I have a form with some picture boxes as buttons. I'm setting the picture property to a gif file for "normal", and to a different gif for the "pressed" state. This works fine. I get into trouble...
1
2689
by: Chris Bond | last post by:
I have a asp vb.net webform that uses a dataset to bind from a mssql backend via a stored proc and displays its results in a datagrid. In one of the datagrid columns i have a field called status...
1
6707
by: Omar Llanos | last post by:
How can I change the background color of an MDI form? I read in msdn that it takes the background of windows (and not the BackColor) but I wanted to really make sure. I know that in VC it can be...
4
3220
by: Jon Paal | last post by:
need help trying to associate master/detail in ASP.net 2.0 with VWD2k5EE Protected Sub GridView1_SelectedIndexChanged(ByVal sender As Object, ByVal e As System.EventArgs)...
1
4086
by: Firewalker | last post by:
I am attempting to change the backColor property on the previously instantiated buttons FROM a listbox_doubleClick event. I thought it would be something like this: If...
3
15386
by: Mad Scientist Jr | last post by:
Can someone post a clear example of how to change the background color of an individual datagrid cell for a Windows desktop app? (preferably in vb.net) I found some code on how to do this when...
0
1146
by: Yeti | last post by:
Hey everyone..I have no idea why this is happening..its so weird. I am trying to change the backcolor of a panel when a textbox changes value. The code is as follows: Private Sub...
12
3156
by: Henry Jones | last post by:
I have a VS 2005 VB.NET project and would like to change the color of the textbox when the user hovers over it. In a Module I have the following routines: Public Sub Button_Hover(ByRef btnName...
0
1980
by: svx | last post by:
Hello, I am painting individual rows in a ListView control with different colors, depending on state. I am also using a SmallImageList in Detail view. When I set the...
0
7227
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7331
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
7391
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
5633
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4713
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3204
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1564
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
768
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
424
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.