VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Clear all textbox in form

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.

Rate Clear all textbox in form



Dim mycontrol As Control
For Each mycontrol In Text1
        mycontrol.Text = " "
    Next
End Sub

Download this snippet    Add to My Saved Code

Clear all textbox in form Comments

No comments have been posted about Clear all textbox in form. Why not be the first to post a comment about Clear all textbox in form.

Post your comment

Subject:
Message:
0/1000 characters