The information in this article applies to:
Moderate: Requires basic macro, coding, and interoperability skills. This article applies to a Microsoft Access database (.mdb) and a Microsoft Access project (.adp). SYMPTOMSWhen the Enabled property of a page on a tab control is set to False, you can still click the tab and see its controls and the data that they contain. However, you cannot change any of the data. RESOLUTIONTo hide the data on a disabled tab control page, use one of the following methods. Method 1Set the Visible property of the tab control page to False in the Load event of the form. This makes the tab control page and its tab invisible. Add the following procedure to the Load event of the form, substituting the name of your own tab control:
Method 2Set the Visible properties of the controls on the tab control page to False in the Load event of the form. This hides the controls on that page, but allows the tab to remain visible. Add the following procedure to the Load event of the form, substituting the name of your own tab control and page controls:
MORE INFORMATIONSteps to Reproduce Behavior
REFERENCESFor more information about the tab control, click Microsoft Access Help on the
Help menu, type "tab control" in the Office Assistant or the Answer Wizard,
and then click Search to view the topics returned. Additional query words: grey gray dim
Keywords : kbdta FmsOthr |
Last Reviewed: May 13, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |