473,387 Members | 1,561 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

* Allow Mousewheel to Scroll Down *

Hello,

I've developed a form for users to enter in new info into an Access db.
The form is very long, and everyone is used to scrolling down the page via the flywheel on the mouse, however when doing this it does NOT scroll down the form, it actually goes to the next record.

Does anyone know how to turn this function off and just allow the Flywheel to scroll down the page rather than going to the next record?

Any help would be appreciated!

Thanks!
May 12 '09 #1
6 9767
beacon
579 512MB
Hi deve8ore,

It's been my experience that it isn't necessarily good design to create forms that are longer than the viewing area. If you have a form that is longer than the viewing area, it's a good idea to use the tab control to separate the form into sections and relieve the user from having to scroll at all.

I have some code that will prevent users from using the wheel on the mouse to scroll to other records (which I think is posted in this forum somewhere), but I don't have code that will allow the user to scroll down the form.
May 12 '09 #2
missinglinq
3,532 Expert 2GB
Beacon is correct on all points!

Forms that require a user to scroll down to access all controls is considered to be the ultimate user-unfriendly! Use a tabbed control and expand laterally.

As for the mousewheel, if you're running Access 2007, you already have a function that addresses this issue! You can lock the wheel from going to another record and still allow scrolling down thru records in Datasheet and Continuous View. See Help for details. You still cannot scroll down a too large form, though.

For all other versions, you'll need some outside help. A gentleman by the name of Stephen Lebans has a sample database that does this and it can be downloaded at:

http://www.lebans.com/mousewheelonoff.htm

You still cannot scroll down overly long forms. I've seen this question posed dozens of times with no successful solution ever being found.

My last question would be exactly how many controls do you have on this form that requires using such a long one?

Linq ;0)>
May 12 '09 #3
ADezii
8,834 Expert 8TB
The critical placement of Page Breaks, and accompanying Navigation Methods on a Form, can make the use of very long Forms much more practical. Scrolling is eliminated, as well as the Tab Control. It must, however, be carefully designed.
May 13 '09 #4
Good comments by all, and certainly appreciated. Thank you!!
May 15 '09 #5
beacon
579 512MB
@ADezii
Hi ADezii,

I've found that page breaks on forms end up being somewhat confusing for the user unless you have some kind of indicator on your form that explains to the user how to progress to the next page. This is okay, but it could potentially take up needed space on the form.

The only method I've seen came from John Viescas in the Microsoft Access 2003 Inside and Out book. What navigation methods are you suggesting? I thought this might help Dev as much as it would squash my curiousity.
May 15 '09 #6
beacon
579 512MB
@deve8ore
Hi Dev,

I just wanted to pass this article along to you in case you decide to take the tab control route. The link is at http://office.microsoft.com/en-us/ac...300491033.aspx.

I'm not sure how much experience you have with VBA, but if you need additional customization, tab controls work a little differently than your typical control. You will have to access the tab control first, then access the pages on the tab control to add functionality. Ex:
Expand|Select|Wrap|Line Numbers
  1. TabCtl.Pages(1).Visible = False       'Will hide the page on the tab control
  2. TabCtl.Pages(3).Caption = "Donkey"    'Will change the display name of the page
  3.  
Hope this helps...
May 15 '09 #7

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

Similar topics

1
by: Lorenzo Berendsen | last post by:
Hi, Help me. I want to automaticaly fill in a ListBox. How can I automate the scroll down in the list, to follow the fill in process? Lorenzo.
5
by: MacKenzieMouse | last post by:
Is there an easy way to have the page scroll to the next button? When I populate a drop down list box, I have to use the arrow key or the mouse to scroll down. I would like for the page to be...
1
by: Al | last post by:
Hi, How do I scroll down to an item in ListView control based on selection made from another window. Any Help will be appreciated Thanks Al
1
by: Code Monkey | last post by:
using VS2005 and c# to create a windows forms application. One of my forms has a panel which I've added various controls to. Now, I've set the autoscroll property to true, which is great, but I...
3
by: roamingwayne | last post by:
I have a page where the content in a dev is all over the page unitl you scroll down and back up. This behavior only happens in IE. Any guesses what can cause this.
1
by: jadeite100 | last post by:
Hi: I have an pop-up window with an Iframe that has a text box with scrolldown. The scrolldown in the popup-window does not work but the scroll-down for the iFrame works. The strange thing is I...
1
by: kallol | last post by:
I have a simple HTML page where I have a form with in a <div style="height: 600px; width: 100%; overflow: auto;">. The mentioned div styles are mandatory to get the expected behavior of the div. ...
4
by: Rugen | last post by:
I have a webbrowser in my form and I want it to automatically scroll down to the center when the page is loaded... ( or 100pixels for example ) So how can I do this ? Can someone help me ?
2
by: eddwinpaz | last post by:
Hi everyone..!! i have a chat and i want all the new messages to be seen but ecause i have a css iframe i would like to auto scroll down. so i can see the new message instead of click the scroller...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
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...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...

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.