scroll bars

  • Thread starter Thread starter Emidio
  • Start date Start date
E

Emidio

Hi all, Is there a way usinf VB to simulate using the
mouse pointer to scroll windows up and down? I have a
large subform on a tab control form which scrolls off the
top of the screen and the only way I can go back is
manually moving the scroll bar with the mouse. I've
tried "docmd.gotopage x" but it doesn't work.

Thanks
 
Hi all, Is there a way usinf VB to simulate using the
mouse pointer to scroll windows up and down? I have a
large subform on a tab control form which scrolls off the
top of the screen and the only way I can go back is
manually moving the scroll bar with the mouse. I've
tried "docmd.gotopage x" but it doesn't work.

If I understand you correctly, it would appear that a control on the subform
that is first in the tabbing order (lowest on the totem pole in the Tab Index
and, this first to get the focus) is at the bottom of that subform. Make sure
that a control near the top of the subform is the first to get the focus by
setting its Tab Index property to 0 (zero).

If this is not the case, I think you might find a solution at Stephen Lebans'
website - particularly, take a look at http://www.lebans.com/SelectRow.htm.
 
Back
Top