468,513 Members | 1,874 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,513 developers. It's quick & easy.

Changing Form BackColor in VB.Net

Thank you for your assistance in advance.

I'm trying to change the forms backcolor with a ckBox.

Michael
Nov 20 '05 #1
1 11421
Hi,

Private Sub CheckBox1_CheckedChanged(ByVal sender As System.Object, ByVal e
As System.EventArgs) Handles CheckBox1.CheckedChanged

If CheckBox1.Checked Then

Me.BackColor = Color.LightBlue

Else

Me.BackColor = Color.Pink

End If

End Sub

Ken

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

"Lumpierbritches" <lu*************@aol.com> wrote in message
news:20***************************@mb-m03.aol.com...
Thank you for your assistance in advance.

I'm trying to change the forms backcolor with a ckBox.

Michael

Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

1 post views Thread by Omar Llanos | last post: by
18 posts views Thread by Colin McGuire | last post: by
3 posts views Thread by Mad Scientist Jr | last post: by
12 posts views Thread by Henry Jones | last post: by
reply views Thread by NPC403 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.