R
Rlrcstr
How can you detect when an arrow key gets pressed? Doesn't seem to trigger
a KeyPress or KeyDown event. Thanks.
Jerry
a KeyPress or KeyDown event. Thanks.
Jerry
Some Guy said:Yes, not hard. You don't even have to create a library to do it.
Public Class UserControl1
Inherits System.Windows.Forms.UserControl
Public Sub New()
Mybase.New()
End Sub
Protected Overrides Function IsInputKey(ByVal keyData As
System.Windows.Forms.Keys) As Boolean
IsInputKey = True
End Function
End Class
Your form:
Dim Withevents myControl as UserControl1
mycontrol.Parent = '-- Whatever
myControl.Location = '-- Wherever
myControl.Size = '-- Whatever
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.