Clearing Textbox.

Posts 1–3 of 3 · Page 1 of 1
Clearing Textbox.
How do you clear a textbox with multiple lines already written in it?
Code:
Textbox1.Text = ""
or

Add this to your code

Code:
 Private Sub ClearTextBoxes()
        TextBox1.Text = ""


    End Sub
then in the triggered event

ClearTextBoxes()

Which will clear text box 1
You can add more text boxes to that sub

So this

Code:
 Private Sub ClearTextBoxes()
        TextBox1.Text = ""
        TextBox2.Text = ""


    End Sub

ClearTextBoxes() will clear textbox 1 and 2
try adding a button and the add
Code:
textbox1.clear
Posts 1–3 of 3 · Page 1 of 1
This thread is closed for replies.

Similar Threads

Tags for this Thread

None

Talk with us