Custom Button in Designer -> Problem

  • Thread starter Thread starter Rudolf Ball
  • Start date Start date
R

Rudolf Ball

Hi NG,

its a tiny problem, but it is :) When painting my custom button in the
designer and then resizing it, it doesn`t clear repaints the button. The
button is full of stripes, everything is blurred. What have I forgotten in
code?

Thank you

Rudi
 
Hello,
Rudolf Ball said:
its a tiny problem, but it is :) When painting my custom button in the
designer and then resizing it, it doesn`t clear repaints the button. The
button is full of stripes, everything is blurred.

Maybe you should add the control style 'ControlStyles.ResizeRedraw'. Have a
look at the documentation on how to use it.

HTH,
Herfried K. Wagner
 
Danke!

Herfried K. Wagner said:
Hello,


Maybe you should add the control style 'ControlStyles.ResizeRedraw'. Have a
look at the documentation on how to use it.

HTH,
Herfried K. Wagner
 
Back
Top