Question : Hide background Image

Hi Experts,

I have an option group with a background image, how do I hide the image if option 1 is selected and show the image if option 2 is selected?

Thanks again,
Joe

Answer : Hide background Image

Hi,

Try this:

Dim img As Image = New Bitmap("option1.bmp")
If (Option1.Value = true) Then
          GroupBox1.BackgroundImage = img
Else
          GroupBox1.BackgroundImage = Nothing
End If
Random Solutions  
 
programming4us programming4us