Re: Mouse Wheel scrolling in Multiple FXText widgets
"John Selverian" <[email protected]> Fri, 16 May 2025 14:25:48 -0400
| Newsgroups | gmane.comp.lib.fox-toolkit.user |
|---|---|
| Organization | JAHM Software |
| Message-ID | <[email protected]> |
I had a similar problem. I have several nested containers/frames/FXScrollWindow/FXTreeList It turns out the FXTreeList was always handling the mousewheel event. I wound up subclassing FXTreeList and capturing the mousewheel there. Maybe you could so the same with the FXText. https://sourceforge.net/p/foxgui/mailman/message/58831015/ js From: Pasquale via Foxgui-users <[email protected]> Sent: Friday, May 16, 2025 12:33 PM To: FOX Users <[email protected]> Subject: [Foxgui-users] Mouse Wheel scrolling in Multiple FXText widgets I have 3 FXText widgets and a vertical FXScrollbar in a horizontalframe. I have the code so the scrollbars in the three FXText are hidden, and the vertical scrollbar moves all three fxtext areas together when you left click on the scrollbar. My issue is when you mousewheel scroll in 1 of the FXText. They get out of sync. I cannot figure out how to handle/capture the wheel mouse scroll in a FXText area so I can also code the movement for the other 2 FXText widgets and the FXScrollbar as well and stay synced. Also, moving the mousewheel over the FXScrollbar moves the scrollbar but doesn't update the scrolling for the FXText widgets. I have searched the forum for various phrases and found some information, but I was not able to figure it out or fully understand what was written. Any help would be greatly appreciated. Pasquale _______________________________________________ Foxgui-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/foxgui-users