Form Opacity - setting it back to 100%

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
 
A

Andrew Smith \(Infragistics\)

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top