by Vimal N Bhuptani (1 Submission)
Category: Custom Controls/Forms/Menus
Compatability: Visual Basic 5.0
Difficulty: Unknown Difficulty
Originally Published: Sat 28th July 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Clear all the Values of the Text Box
Dim Ctl as Control
' Executing the For Loop
For Each Ctl in Me.Controls
' Checking whether the Control / Object is a Text Box
If TypeOf Ctl is TextBox Then
Ctl.Text = ""
End If
Next