Hi

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:
  1. Public Sub moveForm(ByVal sender As Object, ByVal e As System.EventArgs) Handles MyBase.Move
  2.    Me.Opacity = 0.7
  3. End Sub

but the form then stays transparent, how do I set the opacity back to 100% again?

It's probably something really easy, but I can't work it out.