VB高手,文本框的失去焦点与获得焦点事件应该如何触发啊?!谢谢。
PrivateSubtext1_GotFocus()Text1.Text="123"EndSubPrivateSubtext1_LostFocus()Text1.Text...
Private Sub text1_GotFocus()
Text1.Text = "123"
End Sub
Private Sub text1_LostFocus()
Text1.Text = ""
End Sub
Private Sub text1_change()
Label1.Caption = "标签的作用大家还清楚吗"
End Sub 展开
Text1.Text = "123"
End Sub
Private Sub text1_LostFocus()
Text1.Text = ""
End Sub
Private Sub text1_change()
Label1.Caption = "标签的作用大家还清楚吗"
End Sub 展开
3个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询