tab controls - suppression of automatic scrolling down

  • Thread starter Thread starter kath
  • Start date Start date
K

kath

I am using MS Access 97 and have based my form around a
tab control (6 pages). When the form is opened, the page
automatically scrolls down to hide the tabs, so I have to
manually scroll up every time to select the required tab.
This is really annoying. Does anyone know of a way to stop
this?
Many thanks.
 
That has happened to me when I have made the tab control a little to large
(high). Try adjusting the height of the tab control.

hth,
 
Like Cheryl wrote, it is nicer for the users to be able to view the whole
Form including the TabControl on screen rather scrolling up and down.

However, if you can't, place a tiny (height & width = 0) on the Form just
above the TabControl and set the Tab Index of it to 0 (so that it gets the
Focus when the Form is opened) and the top part of the TabControl should be
on screen when the Form is open.
 
Include a tiny what on the form just above the TabControl?

----- Van T. Dinh wrote: -----

Like Cheryl wrote, it is nicer for the users to be able to view the whole
Form including the TabControl on screen rather scrolling up and down.

However, if you can't, place a tiny (height & width = 0) on the Form just
above the TabControl and set the Tab Index of it to 0 (so that it gets the
Focus when the Form is opened) and the top part of the TabControl should be
on screen when the Form is open.
 
I think Van meant a tiny textbox. (As established in a post in another
group this morning, Van hasn't had enough coffee yet!)
 
textbox

--
Joan Wild
Microsoft Access MVP

Steven Waugh said:
Include a tiny what on the form just above the TabControl?

----- Van T. Dinh wrote: -----

Like Cheryl wrote, it is nicer for the users to be able to view the whole
Form including the TabControl on screen rather scrolling up and down.

However, if you can't, place a tiny (height & width = 0) on the Form just
above the TabControl and set the Tab Index of it to 0 (so that it gets the
Focus when the Form is opened) and the top part of the TabControl should be
on screen when the Form is open.
 
LOL.

I was 1:30 am when I posted the reply and yes, the caffeine was a bit low
<smile>.
 
Inserting the text box worked for the first tab, but it doesn't seem to have any effect on the rest of the tabs?
 
I am not sure what you meant: the instruction was to make the top part of
the TabControl visible *on the opening of the Form*.

Perhaps you like to clarify the problem you have.

--
HTH
Van T. Dinh
MVP (Access)



Steven Waugh said:
Inserting the text box worked for the first tab, but it doesn't seem to
have any effect on the rest of the tabs?
 
It works for when the form opens, but when a user clicks on any of the tabs it automatically jumps down to the middle of that particular sub-form and the TabControl is no longer visible

What is required so that when a user clicks on any of the tabs, that the TabControl will always be visible when the sub-form appears?
 
Make sure you have the tiny ComboBox *on the Form* just above the TabControl
and try using the TabControl_Change Event to set Focus on the tiny TextBox.

OTOH, like Cheryl and I advised previously, you should really design the
Form so that it fit nicely on the screen with the whole TabControl visible.
It is generally annoying to the users when the Form moves around on screen.

--
HTH
Van T. Dinh
MVP (Access)



Steven Waugh said:
It works for when the form opens, but when a user clicks on any of the
tabs it automatically jumps down to the middle of that particular sub-form
and the TabControl is no longer visible.
What is required so that when a user clicks on any of the tabs, that the
TabControl will always be visible when the sub-form appears?
 
Back
Top