
怎么判断光标处在某个text控件上
1个回答
展开全部
源码如下: Private Sub Text1_LostFocus(Index As Integer) If Not IsNumeric(CInt(Text1(?).Text)) Then MsgBox ("input error! please repress") Text1(?).SetFocus End If End Sub
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询