D
Darren Oakey
ok - the problem - I made a simple breakout game out of a form, just
painting the background - and using keydown for left and right arrow keys to
control the bat - worked fine.
I then moved all the code into a user control, put it on the form. Now I
don't get keydown events when I press an arrow key - on either the form or
the usercontrol ?!!!?
I suspect somehow the container fucntionality has decided that they are was
of migrating between controls or something.
How do I stop it, and get my keys back?
Thanx,
Darren
painting the background - and using keydown for left and right arrow keys to
control the bat - worked fine.
I then moved all the code into a user control, put it on the form. Now I
don't get keydown events when I press an arrow key - on either the form or
the usercontrol ?!!!?
I suspect somehow the container fucntionality has decided that they are was
of migrating between controls or something.
How do I stop it, and get my keys back?
Thanx,
Darren