PC Review


Reply
Thread Tools Rate Thread

Arrow keys ignored

 
 
Rud
Guest
Posts: n/a
 
      17th Nov 2004
Hello,

As soon as I set the form "isMdiContainer = true", the arrow keys are not
captured by the forms KeyDown routine anymore. All other keys are nicely
captured. When a child form is created also there the arrow keys are not
raising the child's KeyDown event.

See my sample code below: (for Form1: "isMdiContainer = true", and
"KeyPreview = true")

Any ideas out there? Thanks in advance!

Rud.

Public Class Form1

Inherits System.Windows.Forms.Form

Private Sub Form1_KeyDown(ByVal sender As Object, ByVal e As
System.Windows.Forms.KeyEventArgs) Handles MyBase.KeyDown

MsgBox(e.KeyCode)

End Sub

End Class


 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Arrow keys don't seem to match Keys.Down =?Utf-8?B?TWFyY0c=?= Microsoft Dot NET Framework Forms 10 9th Mar 2007 10:36 AM
Unable to use arrow keys in booting or function keys. Lillie King Windows XP Performance 1 20th Apr 2006 11:43 AM
Using the arrow keys =?Utf-8?B?SmlsbCBAIEZsb29ybWFzdGVy?= Microsoft Excel Misc 1 25th Sep 2004 04:15 PM
Datagrid and Arrow keys, how to make the arrow move around? Joe Microsoft Dot NET Framework Forms 2 9th Jan 2004 04:50 PM
arrow keys and key down Darren Oakey Microsoft C# .NET 2 4th Sep 2003 10:16 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 10:59 AM.