Thanks, but I would like to achieve just the opposite. For example:
'***
Public Class Form1
Private Sub Form1_DoubleClick(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles MyBase.DoubleClick
Me.BackColor = Color.Yellow ' The form's color changes to Yellow
End Sub
Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As
System.EventArgs) Handles Button1.Click
DirectCast(sender, Button).Parent.BackColor = Color.AliceBlue ' The
forms
'color changes to AliceBlue
End Sub
End Class
'****
Given the code above , how do I get the button's color to remain its
default
gray regardless of the color changes in the form that contains it?