Results 1 to 4 of 4

Thread: really simple question

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2004
    Posts
    27

    really simple question

    Hi,

    i have 6 text boxes, i've made a button called clear, when data has been inputted into the text boxes, i want to be able to press the clear button and it clears all the data

    ive tried this :

    TxtWinner1.Text = ""
    TxtWinner2.Text = ""
    TxtWinner3.Text = ""
    TxtWinner4.Text = ""
    TxtWinner5.Text = ""
    TxtWinner6.Text = ""
    TxtWinner6.Text = ""

    but it doesn't work can anyone help?

  2. #2
    Frenzied Member EyeTalion's Avatar
    Join Date
    Jul 2000
    Location
    New York
    Posts
    1,075
    do you have the code in the right event? are the controls named right?
    It's tough being an unhandled exception...

    ___________
    VB.NET 2008
    VB.NET 2010
    ORACLE 11g
    CRYSTAL 11

  3. #3
    Frenzied Member
    Join Date
    Feb 2003
    Location
    Argentina
    Posts
    1,950
    That ought to work if you've followed Eye Talion's post. You can use txtWinner1.Clear() as well.

  4. #4

    Thread Starter
    Junior Member
    Join Date
    May 2004
    Posts
    27
    thank you its working now

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width