Scrolling on a form that contains a main form and a tab control

G

Guest

Hi,

I have a form which contains some "main" fields at the top. I have created a
subform and placed a tab control on it below the main fields. Each tab
displays information from different tables.

My problem is this: when I click a tab, the subform moves up, hiding the
information on the main form at the top.

My question is this: is there a way to set up the form so that no matter
what tab I select on the subform, the top of the main form still stays in
view? It's okay if the user has to scroll to the information in the tab
control below.

The form is set up this way because the user wanted it that way. But, she
also would like to keep her main record always in view, and scroll, if
necessary, on the tab control.

Thanks for any suggestions.
 
G

Guest

Put the fields in the form Header section.
Reducing the height of your form slightly (if possible) may solve the
problem too.

Steve
 
G

Guest

Thanks for the suggestion, Steve! I would never have thought to put
everything in a header, but it does work!

At first, I just put just the main form fields in the header. It kept them
always in view, however, the tabs from the tab control kept disappearing and
I had to scroll up to see the next tab. When I clicked the tab, the tabs
would again disappear. I don't mind having to scroll through data on a tab,
but didn't want the user to have to scroll just to see the tab name. By
placing the tab control in the header, and closing up the details section,
the problem was solved. The main fields are always in view no matter what tab
is selected, and the tabs themselves are always in view.

Thanks, again, I hope someone else can get some use out of your suggestion!
 
G

Guest

Hi Steve,

I have a new problem regarding this same issue: Now that I have put
everything in the form Header section, I no longer have my vertical scroll
bar. Some tabs on the tab control have more items than can be seen, but no
way to scroll to them. The tab control contains subforms that may have more
than one record to display, but I can't scroll to see the navigation bar on
the subform.

I changed my monitor resolution to the setting that my user will be using as
I was testing, and this is when I discovered the additional problem.

I've checked the scroll bar properties for the entire form (and subforms) -
they all indicate "both" which is what I need.

Is there a way to have a vertical scroll bar in the form Header? I've tried
to make my form larger to try and force a scroll bar, but no luck.

Any suggestions??? Thanks!
 
G

Guest

Steve - I started playng around with resizing my forms, and this seemed to be
the solution. I had to force some of them to be smaller than I wanted, but
got the scroll bar and navigation buttons back.
Thanks, again, though!
 

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