It's a usercontrol inside a scrollable panel container inside another
usercontrol.
I'm creating the inner usercontrols dynamically and then allowing the user
to scroll through as many as have been created. Kinda like a listbox forthe
usercontrols.
I originally tried actually using an ownerdraw listbox - it has a controls
collection - but it also has issues displaying controls when scrolling, so I
decided to create my own.
I'm very close but I still have to main issues and one of them is that I'm
not getting the KeyDown trigger when an arrow is pressed. I don't
understand why I would get other KeyDown events and not the arrows. It's
strange seems that I get every other key. I even get modified arrows (i.e.
Ctrl + Arrow) but nothing on a plain old arrow.
I will search as you suggested, but in the mean time, if you have any other
thoughts, I'm open...
Jerry
"AMercer" <AM*****@discussions.microsoft.com> wrote in message
news:A3**********************************@microsof t.com...
I have no problems with KeyDown getting both arrow key events and space
key.
You get space but not arrow. What controls do you have on the form?
Almost
certainly the arrow keys are being intercepted by a control on your form.
Search the .net help for "arrow and keydown" for interesting reading.