Main Form with Tab Subforms

J

Joe

I have a Main Form with Tab Subforms with footers. I can display each tab
without a problem. However, when I display a tab form and try to scroll
through the tab form, half of the Main form moves up and out of sight. The
main form has no scroll bars (And I will like to keep it that way) so there
is no way to get the header back except to reopen the Main form.

Does anyone have a fix for the problem?

Thanks.
 
A

Arvin Meyer [MVP]

If you have a textbox, or combo box in the header, set focus to it from an
event of a control (perhaps a button) at the bottom of the form. Something
like:

Private Sub cmdTop_Click()
Me.cboWhatever.SetFocus
End Sub
 

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