PageUp and PageDown

sandrao

Registered User.
Local time
Today, 15:56
Joined
Sep 6, 2007
Messages
34
Is there any way the you can use Code to cause a form to do page up and page down. I have a Long form that some of the information that is at the bottom of the form is out of view and only use by certain people.

How can I have a botton on click go page down to the bottom and another button that will return the form to the top of the form.

I know that you can use the keys to accomplish this but for appearance value I would rather use a button on the form to accomplish this.

any ideas?
 
A simple way would be to use your button to set focus to a text box in the desired part of the form.

Code:
Private Sub GoToFormBottom_Click()
  TextBoxAtFormBottom.SetFocus
End Sub

Private Sub GoToFormTop_Click()
  TextBoxAtFormTop.SetFocus
End Sub
 

Users who are viewing this thread

Back
Top Bottom