aTekTipsUser
Programmer
I have set a form to have the shape of an image. When I set the image to be transparent, the black text on my buttons become transparent and the triangle on my dropdown becomes transparent. I have set the image to have a lime surrounding and in my code it sets this as the transparency key. What is odd is it views this lime (or any other color I set it to) as black and sets black as transparent. Here is the code that sets the transparency.
Dim bmp As Bitmap = CType(Me.BackgroundImage, Bitmap)bmp.MakeTransparent(bmp.GetPixel(1, 1))
Me.BackgroundImage = bmp
Me.TransparencyKey = bmp.GetPixel(1, 1)
Why is the controls text and drop down arrow becoming transparent? Thanks for the help!!
Dim bmp As Bitmap = CType(Me.BackgroundImage, Bitmap)bmp.MakeTransparent(bmp.GetPixel(1, 1))
Me.BackgroundImage = bmp
Me.TransparencyKey = bmp.GetPixel(1, 1)
Why is the controls text and drop down arrow becoming transparent? Thanks for the help!!