[Lazarus] StringGrid.Options: goSmoothScroll vs goThumbTracking

Hans-Peter Diettrich DrDiettrich1 at aol.com
Thu Feb 19 11:45:22 CET 2009


Graeme Geldenhuys schrieb:

> goSmoothScrolling - scrolls pixels at a time, not columns/rows.
> goThumbTracking - gives you a like preview of the contents as you move
> the scrollbar.

Right.


> I would think the more logical default would be to have both there
> options enabled by default. I'm using 0.9.26 and they are not both
> enabled by default.

AFAIR that's the Delphi default, suitable for slow systems.

Thumb tracking was available for the original Windows controls. Smooth 
scrolling came later, when the typical systems had more processing 
power. Smooth scrolling IMO should be disregarded when the scroll 
distance becomes larger than one page, or when it's known that the user 
dragged the slider.

DoDi




More information about the Lazarus mailing list