KeyDown with ComboBox (1 Viewer)

Capitala

Member
Local time
Today, 19:25
Joined
Oct 21, 2021
Messages
58
Good day gentlemen!
I'm using (F6) key with fields on form for specific purpose. it works fine with textboxes but doesn't work with any comboBox?
Here's my code
If KeyCode = 117 Then
dosomething
End If
Any ideas!!!
 

theDBguy

I’m here to help
Staff member
Local time
Today, 11:25
Joined
Oct 29, 2018
Messages
21,473
Hi. I just gave it a try, and it works for me. Just to cofirm, are you using the KeyDown event?
 

MarkK

bit cruncher
Local time
Today, 11:25
Joined
Mar 17, 2004
Messages
8,181
It may be helpful if you research how the the Access.Form.KeyPreview property affects the handling of key events on an Access.Form.
 

Users who are viewing this thread

Top Bottom