Repaint Window when moving it?

C

Carlos

Hello.

When a form must be repainted after changing its size the
property ResizeRedraw must be set to true.

¿Is there any property in Form Class to make the same
thing when the form is moved but not resized?

thanks for all.

Carlos
 
H

Herfried K. Wagner [MVP]

* "Carlos said:
When a form must be repainted after changing its size the
property ResizeRedraw must be set to true.

¿Is there any property in Form Class to make the same
thing when the form is moved but not resized?

Add a handler to the form's 'Move' event and invalidate it.
 

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