ACC97: Removing All Pages from Tab Control Removes the ControlLast reviewed: August 29, 1997Article ID: Q166844 |
The information in this article applies to:
SYMPTOMSModerate: Requires basic macro, coding, and interoperability skills. When you modify a Tab control in Microsoft Access 97, either manually or with Visual Basic for Applications code, if you delete the last page of the Tab control, the control itself is also removed from the form. This article assumes that you are familiar with Visual Basic for Applications and with creating Microsoft Access applications using the programming tools provided with Microsoft Access. For more information about Visual Basic for Applications, please refer to the "Building Applications with Microsoft Access 97" manual.
RESOLUTIONIf you programmatically remove all pages from a Tab control so that you can rebuild them, after you remove the last page from the control, you can use the CreateControl() function to create a new Tab control with two pages on it. Then you can set the properties for the new control and manipulate its pages. For more information about using the CreateControl() function, search the Help Index for "CreateControl function."
STATUSThis behavior is by design.
MORE INFORMATION
Steps to Reproduce Behavior
REFERENCESFor more information about the Tab control, search the Help Index for "tab controls," or ask the Microsoft Access 97 Office Assistant.
|
Additional reference words: clear
© 1998 Microsoft Corporation. All rights reserved. Terms of Use. |