2 Replies - 56150 Views - Last Post: 30 April 2008 - 08:40 AM Rate Topic: -----

#1 dagwood  Icon User is offline

  • New D.I.C Head

Reputation: 0
  • View blog
  • Posts: 1
  • Joined: 29-April 08

clear button for text boxes

Post icon  Posted 29 April 2008 - 09:43 PM

I have created a form with two labels and two text boxes. I want to user to input in text1 and text 2. However, when they due this I would like the clear button to clear all inputs.

I have this so far but are not sure where to go at this point.

Private Sub btnClear_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnClear.Click

End Sub
Is This A Good Question/Topic? 0
  • +

Replies To: clear button for text boxes

#2 PsychoCoder  Icon User is offline

  • Google.Sucks.Init(true);
  • member icon

Reputation: 1641
  • View blog
  • Posts: 19,853
  • Joined: 26-July 07

Re: clear button for text boxes

Posted 29 April 2008 - 10:02 PM

Moved to VB.Net
Was This Post Helpful? 0
  • +
  • -

#18 Altysfynest  Icon User is offline

  • New D.I.C Head

Reputation: 4
  • View blog
  • Posts: 4
  • Joined: 30-April 08

Re: clear button for text boxes

Posted 30 April 2008 - 08:40 AM

Private Sub btnClear_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles btnClear.Click
text1.Clear()
text2.Clear()
End Sub
Was This Post Helpful? 1

Page 1 of 1