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?
Use the Form.Opacity property.
Snippet from MSDN link:
Dim instance As Form
Dim value As Double
value = instance.Opacity
instance.Opacity = value
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With