Microsoft KB Archive/298358

= ACC97: Tabs on Tab Control Disappear =

Article ID: 298358

Article Last Modified on 1/31/2007

-

APPLIES TO


 * Microsoft Access 97 Standard Edition

-



This article was previously published under Q298358



SYMPTOMS
When you click a tab in a Tab control on your form in Microsoft Access, the form may scroll downward so that the tabs are no longer visible.



CAUSE
This behavior occurs if the first control in the tab sequence on that tab's pane has a vertical dimension that is greater than that of the screen.



WORKAROUND
To work around this issue, use one of the following methods.

Method 1: Modify the Tab List

 * 1) Open your form in Design view.
 * 2) Click the tab on which the issue occurs.
 * 3) On the tab, create a text box control, and then place the control at the top of the pane.
 * 4) Set the height of the text box control to zero.
 * 5) On the View menu, click Tab Order.
 * 6) Click the selector for the text box control that you just created, and then click and drag the control to the first position in the list.

Method 2: Change the Size of the First Control
Change the size of the first control on the tab's pane so that you can view its bottom edge while the tabs are still visible.

Method 3: Resize the Subform Control
If a subform is too large, resize the Subform control so that the subform that it contains scrolls within the tab pane.



MORE INFORMATION
By default, the control that has focus is designed to scroll in such a way as to be completely visible. If the vertical dimension of the control is greater than the vertical dimension of the scroll window, the parent object (the tab control, in this case) scrolls upward so that the top of the object that has focus is as high on the scroll window as possible without leaving the visible portion of the window. This may result in the tabs themselves disappearing from the visible area.

Keywords: kbprb KB298358

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.