1,131 questions
1
vote
1
answer
87
views
Standard way to normalize mouse wheel input across devices and platforms?
If I want consistent scrolling behavior across platforms and different wheel resolutions, I need a way to make wheel input independent of the device’s physical precision.
Different mice seem to have ...
3
votes
1
answer
80
views
What is causing the mouse scroll wheel to input characters into my code?
I have a Python app and was looking for a simple keyboard handler to pick up one character inputs to trigger some action for debugging purposes. I found this here:
A simple way of detecting keyboard ...
0
votes
0
answers
47
views
Horizontal scroll on shift in PyQt
I have a PyQt6 Application in which I have multiple QTextEdits, which contain text that sometimes overflow the visible range of the lines. Using the combination of Shift+Mouse-Wheel, my goal was to ...
0
votes
0
answers
28
views
Mouse wheel deltaY is 0 when scrolling vertically in MAUI Blazor WebView with Fabric.js canvas
I'm experiencing an issue with mouse wheel/trackpad scrolling events in a MAUI Blazor app that contains a Fabric.js canvas.
Problem Description:
When scrolling horizontally with a trackpad, the ...
0
votes
2
answers
96
views
MouseWheel Doesn't Scroll Back and Forth
I'm using this script for mousewheel. What I have tried only works one way. Instead of scroll up and down it just Scrolls forward. What I want it to do is change the cursor Forwards and Backwards. ...
2
votes
0
answers
90
views
Fix violation from the google chrome console, Angular 18
I need to use only a number type in the input, Angular 18.
If I try to use
<input matInput type="number">
in google chrome I get a violation
[Violation] Added non-passive event ...
0
votes
0
answers
53
views
GetSystemMetrics with SM_MOUSEHORIZONTALWHEELPRESENT always returns 0?
I'm calling GetSystemMetrics(SM_MOUSEHORIZONTALWHEELPRESENT) and it always returns 0. Thing is, I know I have a horizontal scroll on my mouse (and the raw input device information does come back with ...
0
votes
0
answers
67
views
How do you access the Vertical Scroll Bar on a VB.net PrintPreviewDialog?
I am trying to create a custom print preview dialog in VB.Net which allows for utilization of the mouse wheel. I am experiencing some really odd behavior. There are three main goals I want to ...
0
votes
3
answers
196
views
My Access VBA MouseWheel event is no longer working as it did
My Access (365) VBA application has been working perfectly for over 4 years now with about 8 users. Recently, a user reported that using the mouse wheel to scroll records on a custom form no longer ...
0
votes
0
answers
42
views
How to get the Pinch or Zoom amount from a MouseWheelEvent in Java
I am trying to code something where I can pan around and zoom a graphic, but I can't figure out how to get zoom quantity. I am working in a swing UI and I have successfully gotten scrolling to work ...
2
votes
0
answers
86
views
VSCode mouse middle button deletes the selected text if any
Issue
Have some text selected/highlighted, then press the middle button on a mouse (/TrackPoint. I confirmed this issue occurs with both a mouse and a TrackPoint). By "middle" button, I ...
1
vote
0
answers
123
views
WheelEvent deltaX/Y and resulting scroll direction
I know this has been asked before but there's no definitive answer on that question.
MDN says:
Even when the wheel event does trigger scrolling, the delta* values in the wheel event don't necessarily ...
0
votes
0
answers
35
views
How to Connect this Scrolling Feature & removing that gap? [duplicate]
Newbie here!
Easy Question for those with experienced eyes!
Okay, first the code (Pt 1 HTML, Pt 2 CSS, & Pt 3 JavaScript) and then my question (pt 4) at the end!
Pt 1 HTML code is:
<!...
0
votes
2
answers
129
views
Zoom only using mouse wheel
I'd like to allow zooming on a canvas (excalidraw API) using only the mouse wheel like on google map , without pressing the ctrl key.
Here are two things that I tried :
useEffect(() => {
const ...
1
vote
0
answers
127
views
Control MouseWheel speed with OnMouseWheel event
I am trying to detect mouseWheel event in my Dialog Box and control the speed of the mousewheel.
Below is the code snippet for normal mouseWheel movement:
static BOOL HandleMouseWheel(CWnd* pWnd, int ...
1
vote
0
answers
43
views
Why can't I scroll in Tkinter?
I can't get my mousewheel-bind event to work, this is my code:
class Game(ctk.CTkToplevel):
def __init__(self, master=None):
global fråge_font
global alt_font
fråge_font = ...
0
votes
2
answers
211
views
Smoothly TDBGrid scrolling
I want to make the TDBGrid scrolling "smoother" to scroll the page instead of row by row (dataset cursor).
I know that the navigation occurs on the dataset and not in the visual grid.
Found ...
0
votes
0
answers
30
views
js: Why so many scroll events? [duplicate]
I'm handling some scroll events, and I noticed that listening to onscroll event fires a lot of event, while the onwheel a lot less. I made a CodePen to see how many events are detected.
In particular, ...
2
votes
2
answers
220
views
Electron mouseWheel sendInputEvent not doing anything
I try to send a mouseWheel event to a BrowserWindow webContent with electron with the following code:
const wheelEvent = {
type: 'mouseWheel',
x: 100, // X-coordinate (optional)
y: 100, // ...
0
votes
1
answer
58
views
wpf combobox how to handle PreviewMouseWheel
I want to add a handler for the MouseWheel to the ComboBox, but I don't know how.
The reason is that I have scrolling problems with a ComboBox inside DataGrid inside ScrollViewer, see here, and I ...
0
votes
0
answers
122
views
scrolling problem with combobox inside datagrid inside scrollviewer
The UI is working, meaning the data looks good, however, we have a scrolling problem.
The data is in a series of ComboBoxes, inside of a DataGrid because we have many ComboBoxes, which is inside a ...
0
votes
0
answers
32
views
wpf datagrid does not bubble the scrollwheel event [duplicate]
The scrollwheel does not work on a DataGrid inside a ScrollViewer, although the vertical scrollbar just works fine. I tested with this setup:
<ScrollViewer>
<StackPanel ...
1
vote
0
answers
39
views
Scroll direction of the WheelEvent delta*
The MDN wheel event docs it is specifies the following:
Even when it does, the delta* values in the wheel event don't necessarily reflect the content's scrolling direction.
Anyone know under which ...
0
votes
2
answers
99
views
Prevent MouseWheel scrolling in the SplitterPanel of a SplitContainer
I want to prevent scrolling with the MouseWheel in a SplitterPanel with a scrollbar conditionally, but preserve the scrolling behaviour (as shown in the code below) how can I do this?
I have this in ...
0
votes
1
answer
804
views
Unity InputSystem Scroll [Mouse] is triggered by middle mouse button press. Possible bug?
I'm using the Unity InputSystem to detect mouse scrolling and use it's Callback to effect a Camera object zoom. However, I noticed that when I press (not scroll) on the middle mouse button (aka the ...
0
votes
2
answers
81
views
TKinter mousewheel scroll on multipe tabs
I can't seem to get the mousewheel to scroll on a multiple tab TKinter. It only scrolls the first Tab.
Tried a few different things but cannot seem to work it out. Any help would be great :)
Basiclly ...
0
votes
1
answer
492
views
Javascript pan and wheel zoom image
I have the following code used for panning image. Panning works well, but wheel zoom not. When I start zooming anywhere above the image I want it to zoom from that cursor point outwards. Currently ...
5
votes
1
answer
2k
views
Distinguish Trackpad and mouse on wheel event
How can I Distinguish that which device triggers wheel event
node.addEventListener('wheel', handleWheel)
I want to do the following
For mouse wheel: zoom in/out
For pinch via trackpad: zoom in/out
...
0
votes
0
answers
86
views
Sync 2 TextBox scroll bars on mousewheel from either?
I've inherited a VB.net WinForm. There's 2 equal length arrays that are generally 600+ long that output to 2 fixed location/size WinForm TextBoxes called RanTextBox and PosTextBox. I need the 2 ...
0
votes
1
answer
227
views
three.js - OrbitControls damping works when mouse pressed but no damping when mouse stops moving
This may be hard to explain:
Using OrbitControls in three.js and have enabled damping for smooth rotation with the mouse. It works partially. I click, I drag, the damping works fine, but as soon as I ...
0
votes
1
answer
55
views
How can I disable mousewheel after last slide and reenable it when reaches top of page?
I am trying to disable mousewheel on last slide and scroll down to pages when reached end of flexslider. Issue here is that I am not able to use mousewheel again when reached back to top of page.
I am ...
1
vote
2
answers
214
views
How to delay javascript wheel event
I have made a slider, I'm trying to make a scroll-to-slide function with pure JS, But I am not sure how to set a delay function scroll in each slide(set a delay time each time the user scrolls). I don'...
0
votes
2
answers
427
views
How to implement changing slider value with mouse wheel in MAUI?
Actually the question is in the title.
The WPF solution doesn't fit (or I haven't figured out how to adapt it), and I couldn't find anything else specific.
The solution from here also could not be ...
0
votes
0
answers
90
views
Disable mouse wheel zooming and user-rotation on 3D embedded model in wordpress website
I have an embedded 3D model on my wordpress website which I created, now hosted online by creators3d.
I want to alter the code somehow so you wouldn't be able to zoom in with the mouse or click&...
0
votes
1
answer
69
views
Remove MouseWheelEvent/MouseWheelListener awaiting execution in Java Swing
I have an implementation where I want to reload data while scrolling a JList after scrolling every 100 records. I have a large database, and it takes around 7 seconds to load the JList. Therefore, a ...
-1
votes
1
answer
357
views
How to avoid page scrolling when scrolling slider with mouse wheel?
I developed a multiple image slider which is scrollable horizontally with mouse wheel. The problem is that when I scroll down with the mouse wheel on the page and reach the slider, although the slider ...
0
votes
1
answer
627
views
How to handle QComboBox wheel-events with an event-filter?
In Qt6, many widgets (QComboBox, QSpinBox) will steal mouse wheel events that should be handled by their parent widget (like a QScrollArea), even when they don't have focus, and even when the ...
1
vote
3
answers
715
views
How to create mouse wheel scroll counter
How can I count mouse scroll using pure JS?
Example:
default value: 0
scroll down: ++1
scroll up: --1
I tried to do this using deltaY and a switch case
let mouseWheel = 0;
switch (deltaY) {
case ...
1
vote
1
answer
839
views
How to add a scrollbar for Frame in tkinter python and scroll it with mousewheel? [duplicate]
I need to create a scrollbar for Frame with mousewheel scorlling in tkinter library.
I tried to set yview for Frame
scrollbar = Scrollbar(master, command=frame.yview)
but frame doesn't have yview ...
1
vote
1
answer
392
views
Neovim in GNOME-terminal with mouse disabled moves cursor when scrolled
I'm using Neovim in the GNOME-terminal with the mouse= option set to disable all mouse features. This is the way I want it as I don't want the mouse moving my cursor in general.
When I use the mouse ...
2
votes
0
answers
265
views
MouseWheel event in a RichTextBox
private void richTextBox1_MouseWheel(object sender, MouseEventArgs e)
{
if(richTextBox1.Focused)
{
}
}
I am using Windows forms RichTextbox, and my question is how do I make ...
0
votes
2
answers
127
views
OSD volume bar to mousewheel into mute?
I have an older OSD volume script that works wonderfully and is very customizable. Original found here... SOURCE: https://www.autohotkey.com/board/topic/94813-just-another-volume-osd/
My only issue is ...
0
votes
0
answers
128
views
SWT.MouseWheel event works in Eclipse Development Environment but not in other environments
I am experiencing an issue with the SWT.MouseWheel event specifically in environments other than Eclipse Development Environment. The event handler for SWT.MouseWheel functions correctly within ...
0
votes
0
answers
388
views
Hot keying Ctrl + Scroll Wheel to increase/decrease the track value in C#
I am creating a Windows Form application that has a scroll bar which adjusts movement speed for a stage controller. I would like to give users the option to incrementally adjust the speed by pressing ...
1
vote
0
answers
333
views
Can I move Ursina FirstPersonController by scrolling mouse wheel?
I would like to move forward and backward by scrolling mouse wheel.
How can I adjust ursina.prefabs.first_person_controller.FirstPersonController so that it is controlled by mouse only... specifically,...
0
votes
1
answer
59
views
How to add and remove scrollbars dynamically to a zoomable panel based on Rectangle's visibility
I am trying to manipulate some blue rectangles within a confined, much larger red rectangle.
I have this working along with a zoom-in and zoom-out function
The problem is I would like to display ...
1
vote
1
answer
1k
views
(UNITY 3D): moving a camera along a rail/predefined path using mouse scroll input
this is my first post on this community. I searched around for some content to help me with my question, and I've found some stuff that could potentially help me but I just wanted to know if its ...
1
vote
1
answer
514
views
Scroll down in the iframe element with Selenium Python
I have a problem when I want to scrol , I attach the code from where I locate and change to the frame and how I currently try scrolling:
.
.
.
driver.find_element(By.XPATH,'//*[@id ="...
0
votes
1
answer
133
views
PointerPoint.Properties.MouseWheelDelta tilt or scroll
I have a function that listenes to PointerWheelChanged events of my UIElement.
I can retreive the MouseWheelDelta but this doesn't tell me if the mouse wheel was tilted or moved up/down.
How can I get ...
0
votes
0
answers
180
views
How can I stop slider moved by mouse wheel at the last image?
I am working on a multi-image slider (i.e. several images appear next to each other at the same time and move together) that can be moved with the mouse wheel. I detect the direction of the mouse ...