[Lazarus] ScrollBox - How to get proper scrolling for a TPanel?

Sandro Cumerlato sandro.cumerlato at gmail.com
Thu Jan 7 07:51:26 CET 2016


Hello Gabor,
take a look at the OnMouseWheel.zip example available on this page:

http://bugs.freepascal.org/view.php?id=26781

Sandro
On 6 Jan 2016 15:17, "Gabor Boros" <gaborboros at yahoo.com> wrote:

> Hi All,
>
> I have a TScrollBox (Height=150) and a TPanel (Height=450) in it.
> With Linux-Qt I can scroll up and down if the mouse over the scrollbar,
> the empty space or the Panel in 13 steps.
> With Windows can scroll if over the scrollbar or the empty space (in 13
> steps too). But the scroll not working if mouse over the Panel. I can
> override DoMouseWheel but down know how to get the 13 steps long scrolling
> from it. Any idea? (I use latest fixes_1_6.)
>
> Gabor
>
> --
> _______________________________________________
> Lazarus mailing list
> Lazarus at lists.lazarus.freepascal.org
> http://lists.lazarus.freepascal.org/mailman/listinfo/lazarus
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20160107/5df68ef7/attachment-0003.html>


More information about the Lazarus mailing list