With ctlName
.SelStart = 0
.SelLength = Len(ctlName)
End With
End Sub
Now add a call to this subroutine in the GotFocus event of the input controls:
Private Sub txtFocusMe_GotFocus()
Call FocusMe(txtFocusMe)
End Sub
上一篇: 用ParamArray接收任意个参数
下一篇: 统计VB程序的运行时间
文章整理:西部数码--专业提供域名注册、虚拟主机服务
http://www.west263.com
以上信息与文章正文是不可分割的一部分,如果您要转载本文章,请保留以上信息,谢谢!




