make form transparent while moving and otherwise solid
Hi :wave:
I am trying to make a form transparent (by reducing the opacity to around 70%) if/when the form is being moved around the screen, but at all other times the form should be solid.
I have no problem setting the opacity for the form when it moves by doing the following:
VB Code:
Public Sub moveForm(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Move
Me.Opacity = 0.7
End Sub
but the form then stays transparent, how do I set the opacity back to 100% again? :confused:
It's probably something really easy, but I can't work it out.