This article was previously published under Q208750
This article has been archived. It is offered "as is" and will no longer be updated.
This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).
Moderate: Requires basic macro, coding, and interoperability skills.
When you click on a tab control in Design view of a form, you do not seethe control handles (boxes around the control) that enable you to changethe size of the control or to delete the control.
This article demonstrates how to select pages on the tab control, and howto select the entire tab control in Design view of a form.
CAUTION: If you follow the steps in this example, you modify the sample database Northwind.mdb. You may want to back up the Northwind.mdb file and follow these steps on a copy of the database.
The following steps demonstrate how to select different portions of a tabcontrol. Each page on a tab control, as well as the control itself, has adifferent set of properties that you can customize.
Open the sample database Northwind.mdb.
In the Database window, click Forms.
Click the New button to create a new form.
In the New Form dialog box, select Design View, and then click OK. A new form opens in Design view.
On the View menu, click Properties to display the form's property sheet (if it is not already showing). Move the property sheet on the screen so that you can see it and the detail section of the form at the same time.
Click the Tab Control button in the toolbox.
Click anywhere in the detail section of the form. Note that a tab control with two pages appears on the form and that the title bar of the property sheet displays Tab Control: TabCtl0. Also note the position of the control handles around the control. This is how the control appears when the entire tab control is selected.
Click anywhere in the blank area of the detail section of the form so that the tab control no longer has focus.
Click in the center of the tab control. Note that no part of the tab control is selected, and that the title bar of the property sheet displays Section: Detail.
Click on the Page1 tab of the tab control and note that the control handles appear only around the page itself, and not around the entire control. Note also that the title bar of the property sheet displays Page: Page1. Repeat this for the Page2 tab and note the similarities.
Click the blank area to the right of the Page2 tab, or click on the top, bottom, left, or right border of the tab control. Note that the control handles appear around the entire tab control, and that the title bar of the property sheet once again displays Tab Control:TabCtl0.
For more information about designing forms, click Microsoft Access Help on the Help menu, type designing forms in the Office Assistant or the Answer Wizard, and then click Search to view the topics returned.
For more information about 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.