tags:

views:

95

answers:

1

I have a VB.NET form with a red background and white text. I want to change the opacity of the background (not the text) to 50%; how would I go about accomplishing that?

+2  A: 

Use the Form.Opacity property.

Snippet from MSDN link:

Dim instance As Form
Dim value As Double

value = instance.Opacity

instance.Opacity = value
Donut