[Lazarus] flickering on statusbar panel

Andrea Mauri andrea.mauri.75 at gmail.com
Wed Dec 17 15:50:25 CET 2008


any suggestions?

Andrea Mauri ha scritto:
> Dear all,
> I encountered a flickering problem when using a statusbar under winxp 
> (lazarus v0.9.27 r17839 i386-win32-win32/win64 fpc 2.2.2)
> Using a code similar to the following:
>
> i:= 0;
> while condition do
> begin
>   readln(f, str);
>   label1.Caption:= Format('Number: %d', [i]);
>   statusbar1.Panels[0].Text:= Format('Number: %d', [i]);
>   Inc(i);
> end;
>
> The text in the status bar panel flickers a lot while the same text in 
> the label does not flicker.
> On Linux Ubuntu also the statusbar works fine.
> Another issue, but I am not sure because I made just some few tests, it 
> seems that writing on the statusbar is a little slower than writing on a 
> label.
> Regards,
> Andrea
> _______________________________________________
> Lazarus mailing list
> Lazarus at 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.75 at gmail.com
http://michem.disat.unimib.it/chm/ 




More information about the Lazarus mailing list