淘宝直通车投放时间:如何让VB中的窗口在运行中输完数字后自动跳入下一格?
来源:百度文库 编辑:中科新闻网 时间:2024/05/26 03:14:43
如何让VB中的窗口在运行中输完数字后自动跳入下一格?例如在输完年的格后自动转入月的格?
如果Text1填年,Text2填月的话。
Private Sub Text1_Change()
If Len(Text1.Text) = 4 Then Text2.SetFocus
End Sub
如果Text1填年,Text2填月的话。
Private Sub Text1_Change()
If Len(Text1.Text) = 4 Then Text2.SetFocus
End Sub