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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Combo Box 1

Status
Not open for further replies.

toccata

Programmer
Jun 26, 2002
65
US
I'd like the F2 key to open the list box in the same fashion as a left mouse button press. Is this possible? Many of my users prefer keyboard operation to mouse. Go figure.
 
There is already a universal key for this like (F1 = help). It is F4. This is the universal key for displaying list.


ProDev, MS Access Applications
Visit me at ==> Contact me at ==>lonniejohnson@prodev.us

May God bless you beyond your imagination!!!
 
Hi toccata,

Try using this in the On Focus event of your Combo:

Me!ComboName.Dropdown

Or if that doesn't suit, in the KeyDown event of the Combo:

If KeyCode = vbKeyF2 Then
Me!ComboName.Dropdown
End If

Or maybe use both

Bill
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top