my child form is a game that allows user to move using keydown event (arrow key left and right). But when i import it to MDI, keydown event doesn't work anymore. Am i missing something here?
Printable View
my child form is a game that allows user to move using keydown event (arrow key left and right). But when i import it to MDI, keydown event doesn't work anymore. Am i missing something here?
Just a suggestion, try using the MDIForm.KeyPress rather than the GameForm itself and see if that works.
Thanks for the hint, but it doesn't work :(
i tried show two child form at the same time and press Left and Right key
it switches between child form, i think this is the problem.
Any solution?
Hai,
Set the Keypreview property of ur child form to true.
I think it will WORK.
But i donot know how make a form as child form of MDI parent help me