Keypreview does not work with ComboBox

  • Thread starter Thread starter Victor CCC via .NET 247
  • Start date Start date
V

Victor CCC via .NET 247

With keypreview = true the key events in a combobox are not intercepted by the form. It does work in text boxes but it makes a beep too...anyone knows how to do it??
 
* Victor CCC via .NET 247 said:
With keypreview = true the key events in a combobox are not
intercepted by the form. It does work in text boxes but it makes a beep
too...anyone knows how to do it??

I don't know how to do it, but you can try to override the form's
'OnKey*' methods and check if you get the messages here. BTW: That's a
bug in the combobox control.
 
Back
Top