> First I'm sorry, for I meant the VERTICAL scroll. It's indeed the scrollbar
> of the FORM. The mainform's only function is to contain the tabcontrol with
[quoted text clipped - 19 lines]
> > >
> > > Henk
Thanks, Stephen,
I've downloaded your setgetsb and tried the following code in the first
subform:
Private Sub subfrm_FG_Enter()
i = fGetScrollBarPos(Form_Mainform2) ' --> result: i = 32
i = fSetScrollBarPos(Form_Mainform2, 0) ' --> i = 0
End Sub
It seems to work, but Mainform2 continues to be scrolled, so that the tabs
were still not visible.
By the way, is my solution to arrange several forms "best practice"?
> For the simplest method using SendMessage see:
> http://www.lebans.com/loadjpeggif.htm
[quoted text clipped - 50 lines]
> > > >
> > > > Henk
David C. Holley - 31 Aug 2005 17:06 GMT
Regarding what I just posted. If you go to a doctor and ask for
something because you've got a piercing pain in your arm, the morphenine
that he gives you will take away the pain but not do anything for the
piece of steel in your arm. Being able to move the scroll bar won't
neccessarily fix the underlying problem.
> Thanks, Stephen,
> I've downloaded your setgetsb and tried the following code in the first
[quoted text clipped - 79 lines]
>>>>>
>>>>>Henk
Stephen Lebans - 31 Aug 2005 20:05 GMT
I stated that you should look at the simpler of the two methods found in
the first project I pointed you to here:
http://www.lebans.com/loadjpeggif.htm
Look at the ScrollToHome Sub found in the standard code module
"modStdPic".
--
HTH
Stephen Lebans
http://www.lebans.com
Access Code, Tips and Tricks
Please respond only to the newsgroups so everyone can benefit.
> Thanks, Stephen,
> I've downloaded your setgetsb and tried the following code in the first
[quoted text clipped - 63 lines]
> > > > >
> > > > > Henk
David C. Holley - 01 Sep 2005 14:32 GMT
Based on the screen image that you sent me, it looks as if Access is
scrolling up to put the first control in the tab order at the top of the
screen. No idea as to way, since to me thats counterintuitive. Try this,
add some space above the tab control. In that space add a command button
(it doesn't have to be large, just there). Set its TRANSPARENT property
set to true. Finally change the tab order to ensure that the command
button is the first in the sequence. Make certain that the command
button is NOT a part of the tab control, just above it.
> I stated that you should look at the simpler of the two methods found in
> the first project I pointed you to here:
[quoted text clipped - 117 lines]
>>>>>>
>>>>>>Henk