KeyPreview property... You'll have to set focus to the dropdown first, then
dropdown the list. Lookup Keycodes for vb constants
____________________________
Private Sub Form_Load()
Me.KeyPreview = True
End Sub
Private Sub Form_KeyDown(KeyCode As Integer, Shift As Integer)
Select Case KeyCode
Case vbKeyControl + vbKeyLeft
' Process F2 key events.
Case vbKeyF3
' Process F3 key events.
Case vbKeyF4
' Process F4 key events.
Case Else
End Select
End Sub
As opposed to the built-in functionality of Alt+DownArrow which opens the
box and subsequent DownArrows to scroll?
Unless there is some overriding reason to so so, it just seems a bit like
reinventing the wheel for very little ROI.
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.