[Lazarus] OnMouseWheel event issue
Vincent Snijders
vincent.snijders at gmail.com
Fri Nov 19 10:06:03 CET 2010
2010/11/19 Birger Jansen <birger at cnoc.nl>:
> Hi all,
>
> I have a TPanel on a TForm and an event on the TForm.OnMouseWheel. This works when I use the mousewheel on the form. But as soon as the cursor is over the TPanel, the OnMouseWheel event on the parent form is not triggered. Since the TPanel has no OnMouseWheel there is no way to use a mousewheel on a panel.
>
> In Delphi, the TPanel passes the event to the parent control (TForm).
>
> Shall I report a bug or is this designed behaviour?
> I think it relates to this: http://bugs.freepascal.org/view.php?id=12361
>
What you describe is the same as the issue above.
Vincent
More information about the Lazarus
mailing list