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

ID: Q209164


The information in this article applies to:

Novice: Requires knowledge of the user interface on single-user computers.

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


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.


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


Keywords          : kbdta FmsHowto 
Version           : WINDOWS:2000
Platform          : WINDOWS 
Issue type        : kbhowto 

Last Reviewed: May 13, 1999