Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Display Combobox list without using the mouse

Status
Not open for further replies.

Mikeauz

Technical User
Jul 23, 2002
75
AU
Hi,

Anyone have any idea if there's any shortcuts etc for displaying a combobox list without using the mouse.

The combobox always showing it's list after change and stopping when it's lost focus would be even better.

Thanks for the help
Mike
 
Try the .DropDown method. Example:

Code:
Private Sub cmbChooseApplication_GotFocus()
    Me.cmbChooseApplication.Requery
    Me.cmbChooseApplication.Dropdown
End Sub
When the combo box receives the focus, it is requeried - to make sure that it contains an up to date list of values e.g. after an insert or update. The .Dropdown method then causes the list to drop down.



Bob Stubbs
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top