|
-
May 26th, 2010, 10:12 AM
#1
Thread Starter
New Member
MDI and keydown event
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?
-
May 26th, 2010, 12:13 PM
#2
Addicted Member
Re: MDI and keydown event
Just a suggestion, try using the MDIForm.KeyPress rather than the GameForm itself and see if that works.
Rate me if my response helped you. If not, I accept charity Rates as well. 
-
May 26th, 2010, 11:54 PM
#3
Thread Starter
New Member
Re: MDI and keydown event
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?
-
May 31st, 2010, 03:23 AM
#4
Lively Member
Re: MDI and keydown event
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
Last edited by vpm_sampath; May 31st, 2010 at 03:30 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|