Question Double buffering

BlackByte

Well-known member
Joined
Jun 29, 2008
Messages
126
Location
South Africa, Durban
Programming Experience
1-3
Hi, does anyone the best way to prevent flashes on a form. I have tried setting Doublebuffered to True in the properties, i have tried using the Me.SetStyle() methods, still no change. A link in the right direction will also do.
 
WindowState is set to Maximized, the flashes occur when the form is loaded, there is only 1 form. The font size of the labels is set to 16, it is labels that delay painting.
 
Do you have an image for the form background? These tend to do what you are describing.
 
If you want to remove the background image select none in the designer. I used to have an API for this but can't seem to find it (weird) - it would stop it from redrawing, but could redraw it when needed. The flickering is from all the redrawing of the form when an image is the background.
 
Back
Top