by Dante Mercado (3 Submissions)
Category: String Manipulation
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Fri 3rd July 2009
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Clear all textbox in form
API Declarations
'Requirements
'3 textbox and 1 command button
' Your textbox must have an index so that if you call the object name they will all clear.
Dim mycontrol As Control
For Each mycontrol In Text1
mycontrol.Text = " "
Next
End Sub