"Scott" <sj*****@btinternet.com> wrote in message
news:iv**************@newsfe4-gui.ntli.net...
I have a radio button at the top of my page and when radiobutton2
is pressed I need to grey out groupbox2 which is not applicable to
that particular instance.
Private Sub RadioButton2_CheckedChanged( _
ByVal sender as Object _
, ByVal e as EventArgs _
) Handles RadioButton2.Checked
' One of these two ...
Me.GroupBox2.Enabled = RadioButton2.Checked
' Me.GroupBox2.Enabled = Not RadioButton2.Checked
End Sub
HTH,
Phill W.