473,769 Members | 3,844 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Mouse Wheel ON/OFF Subforms - Lebans MouseWheel On/Off

Hi all,

I searched the archives and found everyone happy with Stephen's
MouseWheel On/Off code except for those with subforms. Stephen's page
indicates that he has added code to handle subforms ("Bug Fix for
SubForms with ScrollBars. Bug fix for SubForms without visible
ScrollBars.") - BUT I still can't get it to work on my app with my
subforms.

I'm using Access 2000, It works fine on the main forms but not on the
subforms.

I've tried adding the code to just the start up form, the main form,
the subform itself but all fails to stop the subform from scrolling
records.

Any ideas???

Thanks in advance

Regards
Jack
Nov 13 '05 #1
2 3003
The overwhelming majority of users have requested that the MouseWheel
function as normal within a Subform. I personally do not see why you
would not want your users to be able to scroll through the subform with
the mousewheel. But since you are the third person in the last week to
request it I will add an optional param to the function call to enable
you disable the MouseWheel for Subforms.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"Jack" <us@yours.com > wrote in message
news:8e******** *************** ***@posting.goo gle.com...
Hi all,

I searched the archives and found everyone happy with Stephen's
MouseWheel On/Off code except for those with subforms. Stephen's page
indicates that he has added code to handle subforms ("Bug Fix for
SubForms with ScrollBars. Bug fix for SubForms without visible
ScrollBars.") - BUT I still can't get it to work on my app with my
subforms.

I'm using Access 2000, It works fine on the main forms but not on the
subforms.

I've tried adding the code to just the start up form, the main form,
the subform itself but all fails to stop the subform from scrolling
records.

Any ideas???

Thanks in advance

Regards
Jack


Nov 13 '05 #2
Stephen

The reason behind my wishes:

I have the main form with a list box, this list box loads any one of
four separate subforms (subcontainer.s ource = "xyz") for users to
follow a particular flowpath dependent on what was chosen in the list
box.

Once the subform is loaded they STAY in that record until a different
record is chosen from the list box in the main form.

It is also necessary as I am manually looking after record locking so
I want users not be to able to move from the record without clicking
the custom button (and that's a whole other matter mainly due to poor
design in the beggining).

Your efforts are much appreciated by me and I'm sure all those other
users out there using your tools.

Thanks
Regards

Jack

"Stephen Lebans" <Fo************ *************** *************@l invalid.com> wrote in message news:<nU******* **************@ ursa-nb00s0.nbnet.nb .ca>...
The overwhelming majority of users have requested that the MouseWheel
function as normal within a Subform. I personally do not see why you
would not want your users to be able to scroll through the subform with
the mousewheel. But since you are the third person in the last week to
request it I will add an optional param to the function call to enable
you disable the MouseWheel for Subforms.

--

HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
"Jack" <us@yours.com > wrote in message
news:8e******** *************** ***@posting.goo gle.com...
Hi all,

I searched the archives and found everyone happy with Stephen's
MouseWheel On/Off code except for those with subforms. Stephen's page
indicates that he has added code to handle subforms ("Bug Fix for
SubForms with ScrollBars. Bug fix for SubForms without visible
ScrollBars.") - BUT I still can't get it to work on my app with my
subforms.

I'm using Access 2000, It works fine on the main forms but not on the
subforms.

I've tried adding the code to just the start up form, the main form,
the subform itself but all fails to stop the subform from scrolling
records.

Any ideas???

Thanks in advance

Regards
Jack

Nov 13 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
6207
by: AccessWhiz | last post by:
I have been trying desperately for the past few days to figure out why the MouseWheel solution that I retrieved from the Lebans website won't work. The access database included with the solution responds to the the wheel regardless of the button. In my application I get an error message when I try to set the class. I'm hoping that I can get some help (cause I feel really stupid right now). Before we go too much further, I am using a...
5
3852
by: Ima Lostsoul | last post by:
Anyone have a simple way to disbale the wheel on a wheel mouse in Access Apps? I have tried the Lebans code and it does not work for my application.
6
5894
by: Debbie | last post by:
Hi Stephen, I'm trying to use your mousehook off...and thanks so much... it's such a blessing that you share with the rest of us. I have the dll in the same folder as the database and placed the button code in the load event of the home page. When I leave the home page and go into other forms, the scroll still moves the user into another record. Do I need to put the code in the load event of every form and subform where I don't want...
0
2244
by: Jack | last post by:
Gday everyone, I'm dearly hoping Stephen Lebans is going to update his masterpeice to stop the mouse wheel scrolling to work on subforms *he has indicated this to me but of course beggers can't be choosers here so I have no idea when this would be done*. I'm just wondering if anyone has gotten around the problem some other way? --Original Thread---
6
12142
by: GGerard | last post by:
Hello I have an Access 2000 form with the following properties: Record Source - Table1
2
4651
by: ken | last post by:
Hi, I found in these forums that one solution to stop the mouse wheel scrolling is: http://support.microsoft.com/default.aspx?scid=kb;en-us;278379 I have a main form on which there is a tabctrl. One of the tab pages contains a subform with another tabctrl with subforms. Anyhow I use the code from microsoft(with the dll file) with the main form and that works fine. When I use it with the first subform it won't
5
4367
by: Bryan Masephol | last post by:
Hi All I got a datagrid and a ComboBox on a form. I populate the combobox with years for all the data avaiable. When the user chooses a year the datagrid is populated with the specific years information. Problem... when the users scrolls the datagrid with the mouse wheel it work for 2 wheel clicks and then for some reason the focus jumps to the combobox and the year is then changes there for causing the data to change and errors...
2
3363
by: Anders Eriksson | last post by:
Hello! I have a program with three views ------------------------------------ | | | | 1 | 2 | | | | | |--------------------------| | | |
13
2808
by: Nathan | last post by:
Hi, Can someone lead me to info on detecting and using the mouse button? All I can find in the MSDN docs is that you use e.Delta, but it doesn't explain in how. I tried detecting the roll of the wheel in the frm.MouseDown, but it didn't detect it. Thank for the help.
0
9579
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9422
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10035
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9984
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9851
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6662
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5441
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
3949
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3556
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.