[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gambas-bugtracker] Bug #2934: No MouseWheel event in DocumentView
[Thread Prev] | [Thread Next]
- Subject: [Gambas-bugtracker] Bug #2934: No MouseWheel event in DocumentView
- From: <bugtracker@xxxxxxxxxxxxxx>
- Date: Sat, 07 Sep 2024 14:12:16 GMT
- To: claus.dietrich@xxxxxxxxxx,bugtracker@xxxxxxxxxxxxxxxxxxxxxx
http://gambaswiki.org/bugtracker/edit?object=BUG.2934&from=L21haW4- Comment #3 by Benoît MINISINI: OK, I see. The MouseWheel event has to be stopped to prevent both the DocumentView and parent containers to scroll at the same time, which is highly disturbing. So in https://gitlab.com/gambas/gambas/-/commit/e435fc2eb0805aba593f20040f0acdf5e7cfdbbe, the DocumentView raises the 'MouseWheel' event explicitly before handling it internally, so that you can catch it and do whatever you want before (like changing the arrangement mode), even stop the event to prevent internal DocumentView behaviour. But beware that if you stop the event, scrolling still occurs! Benoît MINISINI changed the state of the bug to: Fixed. ----[ Gambas bugtracker-list is hosted by https://www.hostsharing.net ]----
[Gambas-bugtracker] Bug #2934: No MouseWheel event in DocumentView | <bugtracker@xxxxxxxxxxxxxx> |