[Lazarus] Mouse wheel scroll bar increment size?

Bruce Tulloch bruce at causal.com
Tue Jun 30 01:09:01 CEST 2009


Vincent Snijders wrote:
> Bruce Tulloch schreef:
>> Vincent Snijders wrote:
>>> 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.
>> Thanks for the tip. I'll give it a go.
>
> Still line oriented, but the treeview and the propertygrid (in the OI)
> do such a thing. It may be useful for examples.
Excellent, thanks for the pointers!

Bruce.




More information about the Lazarus mailing list