本文介绍了如何使用箭头键而不是Tab键的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
你好
我想知道如何使用箭头键而不是Tab键.
我使用了这段代码,但是没有用:
Hello
I want to know how to use arrow keys instead of tab key.
I used this code but it didn''t work :
Private Sub Form1_KeyDown(ByVal sender As Object, ByVal e As System.Windows.Forms.KeyEventArgs) Handles Me.KeyDown
If e.KeyCode = Keys.Up Then
ProcessTabKey(True)
e.Handled = True
ElseIf e.KeyCode = Keys.Down Then
ProcessTabKey(False)
e.Handled = True
End If
End Sub
那是什么问题呢?
在此先谢谢您..
So ,what''s the problem?
Thank in advance..
推荐答案
这篇关于如何使用箭头键而不是Tab键的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!