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



The information in this article applies to:

  • Microsoft Access 2000

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.

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.

Modification Type:MajorLast Reviewed:1/22/2004
Keywords:kbhowto KB209164