Can someone help me fix my code?

  • Thread starter Thread starter Help me.132
  • Start date Start date
H

Help me.132

Guest
I’m new to this whole visual basics thing and I am trying to make a text in a textbox show when I click a button and then make the same text reappear when I press the same button. Please help me fix this. Thank you!

The code I put that doesn’t work is:
Private Sub Button9 Click (sender As System.Object, e As System.EventArgs) Handles Button9.Click

If TextBox1.Text = Visible=True Then
TextBox1.Text = Visible = False
Else
TextBox1. Text = Visible = True
End if

End sub
End class

Continue reading...
 
Back
Top