Detecting key press events on an editable combo box

H

Hicks

I've got a combo box that also allows the user to type in i.e. I make
it editable. When it's in edit mode, I want to be able to detect when
the user starts typing. I've tried adding event handlers to catch
keyPressed and keyTyped events, but my event handler does not get
called.
The event handler does get called though when the combo box is in
non-edit mode, and populated with entries.
Is there any way I can catch keypress events in an editable combo box?
 

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.

Ask a Question

Members online

Forum statistics

Threads
473,734
Messages
2,569,441
Members
44,832
Latest member
GlennSmall

Latest Threads

Top