![]() |
#2
ZHRXJR2016-07-12 09:40
|
只有本站会员才能查看附件,请 登录
只有本站会员才能查看附件,请 登录
只有本站会员才能查看附件,请 登录
小弟刚学VB,只会写到这里,请大神们帮帮忙哈。
Private Sub Text1_Change()
If Len(Text1.Text) = 3 Then Text2.SetFocus
End Sub
Private Sub Text1_KeyPress(KeyAscii As Integer)
If KeyAscii = 8 Then Exit Sub
If KeyAscii < 48 Or KeyAscii > 57 Then KeyAscii = 0
End Sub
[此贴子已经被作者于2016-7-11 13:04编辑过]