[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gambas-bugtracker] Bug #2934: No MouseWheel event in DocumentView


http://gambaswiki.org/bugtracker/edit?object=BUG.2934&from=L21haW4-

Comment #1 by Benoît MINISINI:

The 'DocumentView' control uses the mouse wheel for its own purpose, both for changing the current page, or changing the zoom (with the CTRL key), and so it eats the event.

If you want to catch and override the mouse wheel event, you have to use an Observer on the DocumentView inner children:

$hObserver = new Observer($hView.Children[0]) As "MyObserver"

...

Public Sub MyObserver_MouseWheel()

End

Benoît MINISINI changed the state of the bug to: Rejected.


----[ Gambas bugtracker-list is hosted by https://www.hostsharing.net ]----