怎样清空多个textbox?
一个窗体中有多个textbox,怎样一次性清空它们?谢谢!
text1.text=""
text2.text=""
数组的话就用:
Dim txt As Control
For Each txt In Me.Controls
If TypeOf txt Is TextBox Then
txt.Text = ""
End If
Next txt