Page 1 of 1

Listbox KeyDown event question

Posted: 27 Jul 2018, 21:26
by Run8stud
I have a ListBox and I'm trying to use Extended selection mode. Single and Multiple modes both work perfectly normally, but Extended is not. This same listbox has a KeyDown event where I use a switch-case block to handle a couple other keys, and these work fine. I noticed while troubleshooting via a breakpoint that when I press any of the Control or Shift keys, the KeyDown event fires, however, KeyEventArgs.Key reports Key.None. Do I need to do something special, or is this a bug?

Re: Listbox KeyDown event question

Posted: 27 Jul 2018, 22:11
by Run8stud
My apologies, it never fails... I spend two hours trying to figure out what I did wrong, finally ask a question, and then find my error. Please delete my question above.

Re: Listbox KeyDown event question

Posted: 01 Aug 2018, 13:39
by sfernandez
Ok, thanks for the update.
I'm closing this topic.