[Lazarus] FPImage docs?
dazappa.matt at gmail.com
Mon Jun 29 19:59:23 CEST 2009
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.
More information about the Lazarus