[Lazarus] Smooth scrolling label (marquee)

Luca Olivetti luca at wetron.es
Wed Nov 11 10:39:39 CET 2015

El 11/11/15 a les 10:26, Luca Olivetti ha escrit:
> El 11/11/15 a les 10:16, Luca Olivetti ha escrit:
>> El 11/11/15 a les 09:28, Luca Olivetti ha escrit:
>>> That at least explains the timing differences (but not the
>>> unresponsiveness of the full screen application under windows 7)
>> TextRect!
>> Try the attached project.
>> Under windows XP the TextRect takes an unmeasurable amount of time
>> (using GetTickCount).
>> Under windows 7 it takes 160ms here when in full screen (1920 pixels
>> wide) or 60-70ms when using the --debug option (320 pixels wide).
> That was on virtual hardware, BTW. On real hardware instead of 160 it
> takes 40-60. It's still a lot of time compared to a virtualized windows xp.

More testing: I added a spinedit to change the size of the text.
Under windows xp I can go until 124, then it starts becoming as slow as 
windows 7.
Under windows 7 the maximum value is 83, at 84 is slow.
Any idea on what could be the cause?

Luca Olivetti
Wetron Automation Technology http://www.wetron.es/
Tel. +34 93 5883004 (Ext.3010)  Fax +34 93 5883007

More information about the Lazarus mailing list