Form Opacity - setting it back to 100%

  • Thread starter Thread starter Phil Jones
  • Start date Start date
P

Phil Jones

I'm doing some stuff with the Form's Opacity property.

Basically I'm changing it's opacity to less than 100% when it's being moved,
and then resetting it to 100% upon completiong.

What I find is that after the Opacity property has been adjusted (to
anything), and then reset to 1, the form takes a long long time to redraw
and is slow to move. I assume this is because Window's is still calculating
the background image/opacity image (or whatever the opacity process is) -
despite being reset to 100%.

Has anyone else experienced this - and is there a workaround to reset the
form back to 100% just as it was when it is created.

Many thanks.
===
Phil
 
The window is still a layered window even after setting the form's opacity
back to 1. To get around this, set the AllowTransparency property to false
when you want the form to be opaque.
 
Back
Top