Listbox KeyDown event question
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
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.
-
sfernandez
Site Admin
- Posts: 2997
- Joined:
Re: Listbox KeyDown event question
Ok, thanks for the update.
I'm closing this topic.
I'm closing this topic.
Who is online
Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 8 guests