一个简单的问题? 比如我有两个文本框 A,B 现在我在A文本框中输了东西,然后想敲一下回车,焦点转到B文本框中. 如何实现? __________________________________________________________________________ 在A的OnKeyDown事件里写 if e.KeyCode == Enter then Text
BoxB.Focus(); end if __________________________________________________________________________ Private Sub Text
Box1_KeyDown(ByVal sender As Object,ByVal e As System.Windows.Forms.KeyEventArgs) Handles Text
Box1.KeyDown If e.KeyCode = Keys.Enter Then Text
Box2.Focus() End If End Sub __________________________________________________________________________ web 下要用js实现 __________________________________________________________________________