System.Windows.Forms.ComboBox.KeyDown does not work

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

Hi,
i have made custom control derived from System.Windows.Forms.ComboBox and i
would like to do some special action when user press some key. I tried to add
delegate to KeyDown event, but it does not work. I althought tried to
override functions such OnKeyDown, OnKeyPress, OnKeyUp - it does not work
too. (With 'does not work' i mean that such functions are not entered when
event is rised.)

Is standard behavior of ComboBox control?
Is there any other way to recognize that key was pressed?
 
The standard ComboBox supports the Key events with SP2. Make sure it is on
your target

Cheers
Daniel
 
I am sorry for such a question, but you mean service pack for .NET CF? I
can't find any...
 

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

Back
Top