tab controls - suppression of automatic scrolling down

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.
 
C

Cheryl Fischer

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,
 
V

Van T. Dinh

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.
 
G

Guest

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.
 
C

Cheryl Fischer

I think Van meant a tiny textbox. (As established in a post in another
group this morning, Van hasn't had enough coffee yet!)
 
J

Joan Wild

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.
 
V

Van T. Dinh

LOL.

I was 1:30 am when I posted the reply and yes, the caffeine was a bit low
<smile>.
 
G

Guest

Inserting the text box worked for the first tab, but it doesn't seem to have any effect on the rest of the tabs?
 
V

Van T. Dinh

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?
 
G

Guest

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?
 
V

Van T. Dinh

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?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top