472,805 Members | 962 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,805 software developers and data experts.

How to disable mouse scroll in combobox?

Hi,

I have a problem with combobox. On my form is many comboboxes and when I select same option and use my mouse roll, combobox change to next value. How to disable mouse roller? I tried to change focus on another combo but it isn't good solution because you again cannot scroll page but change option in combobox. I also tried to change focus to parent -> combobox.parent.focus() but if combo is on bottom of the page view is centered and I lose current position of scrollbar. Any idea??

kaszub
Jun 6 '07 #1
4 3776
Plater
7,872 Expert 4TB
Click anywhere outside of your combo boxes before mouse-wheel scrolling.
That's the way it's been for years now, you've never noticed?
(I've had it change radio-button values on me...has caused me some troubles when filling out online forms)
Jun 6 '07 #2
Maybe for years but in asp not in window appplication. Check if don't belive, click outside combo dosen't change focus.
Jun 6 '07 #3
So question remains. How to disable mouse scroll when combobox is in state focus? Hmm mouse scroll should works but it shouldn't change combobox values??

Please help :)
Jun 6 '07 #4
Plater
7,872 Expert 4TB
Ok I see your point, I thought you were in a webpage.

Don't see a good way to stop it, it seems to be an OS thing, maybe you can capture the windows Message saying scroll and stop it I dunno.

Why are you making a windows application that SCROLLs....nobody likes to scroll.
Jun 7 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: Chris DiPierro | last post by:
Is there a way to disable scroll wheel support in a combobox? Basically, I have a situation where a user chooses an option in a combobox. I'm handling the selected index change event, and due to...
1
by: jv | last post by:
I have quite a few of continuous form and subform where I do allow scroll bars. I run into problems with the mouse wheel whenever the data on the form does not take up the whole page. In this...
1
by: nicholas | last post by:
Hi, If on an asp.net page the user has just selected a value in a dropdownlist and scrolls with the wheel of his mouse, the selected value of the dropdownlist will change. How could I avoid...
2
by: nicholas | last post by:
On an aspx page I have a webform with an asp:DropDownList control. If the visitor selects a value in the dropdown and than want to scroll down the page, he accidently changes the selected value of...
8
by: rodchar | last post by:
hey all, can someone please tell me if you can disable the scroll button for a dropdownlist. For example, when you select an item in a dropdownlist and it still has focus and you accidently hit...
0
by: Al | last post by:
Hi I like to replace a character at the click of mouse. My main problem is when I click on the characters that need to be changing the richTextBox will scroll up make it very distracting. Is there...
4
by: hon123456 | last post by:
Dear all, I want to disable the mouse's right click and the scroll bar. What is the javascript to do that? Thanks
9
by: FAQ server | last post by:
----------------------------------------------------------------------- FAQ Topic - How do I disable the right mouse button? -----------------------------------------------------------------------...
3
by: wongray | last post by:
Hello, Please advise how to disable the scroll mouse in access? having the scroll wheel make make form / data screw up. Please help
0
by: erikbower65 | last post by:
Using CodiumAI's pr-agent is simple and powerful. Follow these steps: 1. Install CodiumAI CLI: Ensure Node.js is installed, then run 'npm install -g codiumai' in the terminal. 2. Connect to...
0
by: erikbower65 | last post by:
Here's a concise step-by-step guide for manually installing IntelliJ IDEA: 1. Download: Visit the official JetBrains website and download the IntelliJ IDEA Community or Ultimate edition based on...
0
by: kcodez | last post by:
As a H5 game development enthusiast, I recently wrote a very interesting little game - Toy Claw ((http://claw.kjeek.com/))。Here I will summarize and share the development experience here, and hope it...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Sept 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Taofi | last post by:
I try to insert a new record but the error message says the number of query names and destination fields are not the same This are my field names ID, Budgeted, Actual, Status and Differences ...
0
by: Rina0 | last post by:
I am looking for a Python code to find the longest common subsequence of two strings. I found this blog post that describes the length of longest common subsequence problem and provides a solution in...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
0
by: lllomh | last post by:
How does React native implement an English player?
2
by: DJRhino | last post by:
Was curious if anyone else was having this same issue or not.... I was just Up/Down graded to windows 11 and now my access combo boxes are not acting right. With win 10 I could start typing...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.