Microsoft KB Archive/209164

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

Article ID: 209164

Article Last Modified on 1/22/2004

-

APPLIES TO


 * Microsoft Access 2000 Standard Edition

-



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.



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



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.

Additional query words: hide combo box system colors

