Bruce Tulloch schreef:
If you don't handle the mouse wheel events, then the LCL widgetset
interface or the underlying widget may translate the mousewheel to a
scroll message.
This it indeed does (in GTK2 and Win32 at least). It's just not clear
the mechanism by which the widget decides how far to move the scrollbar
for each mousewheel event it translates.

On windows the scroll offset is equal to the TMouse.WheelScrollLines. The value is set by reading the windows.SystemParametersInfo SPI_GETWHEELSCROLLLINES. Default is 3.

If you want to have something else, you have to handle the OnMouseWheel event.

Vincent

--
_______________________________________________
Lazarus mailing list
Lazarus@lists.lazarus.freepascal.org
http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus

Reply via email to