keypress when combo is in focus

R

roni

hi.

i have 2 combobox on form.

i want to do this:
when combo1 is in focus,if user press some key , i want to have an key press
event.

(meaning getting key event for each combo (when in focus).


i didnt saw key press (or other key events )event in the combo control in
smart device application.


have a nice day.
 
G

Guest

The Key events have been added in the service packs. They just don't show in
the properties grid, but you can use them from the code i.e:

comboBox.KeyDown += new
System.Windows.Forms.KeyEventHandler(thiscomboBox_KeyDown);
 
T

tony

hi .

i already tried the code you wrote,
(even tried keypress and keydown)...

i have no compiler error.

but running the app in the device and also the emulator,
i dont get any event.


how can i check if i have the last service pack ?
 

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

Top