Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Auto-scrolling and Wheel

Status
Not open for further replies.

slaman

Programmer
Jun 8, 2001
47
CA
Two simple things I'm having a hard time with. How can I have it so that the MouseWheel scrolls the current form as it would in Design Mode? As it stands, it scrolls through the records. I have managed to eliminate that by putting a Cancel = True in the form's MouseWheel event, but that still doesnt allow it to be used to scroll the page.

Secondly, when a user is inputting to a form and is using tab to switch controls, when they reach the end of the screen (the form is just one long page), how can I reset the view so that it appears at the top. As it stands, when they reach the last text field of that screen and press tab, it goes to the next textfield, but they are still at the bottom of the page. It's just minor, but little things like this make a database look more professional. Any suggestions are appreciated.
 
Maybe in the LostFocus event of the last field, you can have it getfocus on the control you want? Mary :)

Rule 1: Don't sweat the small stuff.
Rule 2: EVERYTHING is small stuff!! X-)
 
There was a long thread here where they tried to solve the mouse wheel problem, but I think they finally gave up. As to the tab problem, look at the FORMS cycle property. Terry M. Hoey
th3856@txmail.sbc.com
While I don't mind e-mail messages, please post all questions in these forums for the benefit of all members.
 
Thanks th3856. About the tab thing, the tab ORDER is fine... its just that when I'm at the bottom of the screen and press tab to go to the next field, it only moves up just enough to scroll that text field on the screen - I want it to scroll one screen length, so the user starts again from the top... I'll search for that mouse wheel thread.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top