怎么判断鼠标指针不在文本框!
Private Sub Form_KeyPress(KeyAscii As Integer)
On Error Resume Next
If KeyAscii = vbKeyReturn Then
SendKeys "{tab}"
KeyAscii = 0
End If
End Sub
我是这样用回车来控制的!
其中有一个text1.text
如:
当text1.text=123 的时候
text1.text=姓名
text1.text=年龄
可是如何在输入123后
text1.text=姓名
text1.text=年龄
怎么判断鼠标指针!
用什么方法来解决!