In my opinion, the solution is to set TForm.DoubleBuffered to False . Using the True value causes all sorts of other problems. This property worked quite well in front of XP themes, but since they appeared using TForm.DoubleBuffered not been viable in my opinion.
In addition to the problems you encountered, I encountered many drawbacks to use when using the Windows Basic theme. I know this is not mainstream, but I often see this with remote access. And further. When you double the shape buffer, you stop working with theme animations. For example, the default button gives pulses to indicate that it is the default button.
If you get flickering size without double buffering the form, use the ideas from my answer to another question . From the comments it seems that the flicker you want to fight is in the paint. I obviously donβt know the details, but my experience and instincts say that you should deal with ease with this flicker locally. Of course, there should be no need for double double buffering in global form.
David heffernan
source share