Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.

ACC2000: How to Hide the Combo Box Drop-Down Arrow on a Form


View products that this article applies to.

This article was previously published under Q209164
Novice: Requires knowledge of the user interface on single-user computers.

This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).

For a Microsoft Access 2002 version of this article, see 325233 (http://support.microsoft.com/kb/325233/EN-US/ ) .

↑ Back to the top


Summary

This article demonstrates a method that you can use to hide the drop-down arrow on a combo box until the combo box is selected.

NOTE: This article explains a technique demonstrated in the sample file, FrmSmp00.mdb. For additional information about how to obtain this sample file, click the following article number to view the article in the Microsoft Knowledge Base:
233324� Microsoft Access 2000 sample forms database available in download center

↑ Back to the top


More information

To hide the drop-down arrow on a combo box when the combo box is not selected, follow these steps:
  1. Open the sample database Northwind.mdb.
  2. Open the Orders form in Design view.
  3. Add a rectangle control to the form. Size and move the rectangle control so that it completely covers the drop-down arrow on the EmployeeID combo box.
  4. Set the BackColor property of the rectangle to match the BackColor property of the section; set the BackStyle property to Normal; and set the BorderStyle to Transparent
  5. View the form in Form view. Note that you can see the drop-down arrow on the EmployeeID combo box only when the combo box is selected.

↑ Back to the top


References

For more information about BackColor, BackStyle, or BorderStyle properties, click Microsoft Help on the Help menu, type BackColor, BackStyle, BorderStyle, or Windows color scheme in the Office Assistant or the Answer Wizard, and then click Search to view the topic.

↑ Back to the top


Keywords: KB209164, kbhowto

↑ Back to the top

Article Info
Article ID : 209164
Revision : 2
Created on : 1/22/2004
Published on : 1/22/2004
Exists online : False
Views : 339