VB点击弹窗中textbox1时怎么清空里面的内容

2024-11-20 07:14:30
推荐回答(2个)
回答1:

比如text1
Private Sub Text1_Click()
Text1.Text = ""
End Sub

回答2:

Private Sub Textbox1_Click(sender As Object, e As EventArgs) Handles TextBox1.Click
TextBox1.Text = ""
TextBox2.Text = ""
End Sub
这个应该可以