ComboBox Keypress event doesnt catch the Delete key, among others
I have a
DataGridViewComboBoxColumn, however this problem seems to be true for a regular ComboBox. I set the Keypress, or KeyDown event and it works for most of the keys. It does not fire the event for the Delete key. It also doesnt work for the Insert, Home, PageUp/Down, and the END key. Im pretty much only interested in getting the Delte Key to fire this event, any ideas on why i does not? I just tried to do this with a textbox and the Delete key does not work for that either. Is there something i need to overide? Thanks.
[563 byte] By [
Yeshia] at [2007-12-23]
Well I just figured it out. I guess the Del key is not an ASCII key? Well, the Keyup and KeyDown events work and get fired with the Delete Key, the KeyPress event does not work for the Delete key. I guess, at least for my situation, it does not matter which event is firing, up down whatever, as long as when that key is pressed and released, SOMETHING happens!