But why, same monitor, same application, labels do not flicker while statusbar flickers? Andrea
Mattias Gärtner ha scritto: > Zitat von Andrea Mauri <andrea.mauri...@gmail.com>: > > >> Yes, but the flickering remains both with DoubleBuffered:= True and >> DoubleBuffered:= False. >> The only difference is that using DoubleBuffered:= True the statusbar >> seems to be repainted faster. >> > > TWinControl.DoubleBuffered can only fix the flickering when repainting the > same > (erasing plus painting the same content as the last time). > It can not fix the flickering when the text on the statusbar changes. To fix > this flickering your painting must be in sync with your monitor. See the > vertical sync option for your graphic card. > > > Mattias > > _______________________________________________ > Lazarus mailing list > Lazarus@lazarus.freepascal.org > http://www.lazarus.freepascal.org/mailman/listinfo/lazarus > > -- Dr. Andrea Mauri, PhD Milano Chemometrics and QSAR Research Group Department of Environmental Sciences University of Milano-Bicocca P.zza della Scienza, 1 20126 Milano - Italy Tel: ++39 02 64482801 mailto:andrea.mauri...@gmail.com http://michem.disat.unimib.it/chm/ _______________________________________________ Lazarus mailing list Lazarus@lazarus.freepascal.org http://www.lazarus.freepascal.org/mailman/listinfo/lazarus