clear

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • ganesh22
    Banned
    New Member
    • Sep 2007
    • 81

    clear

    Hi,
    In my below code i want to clear array btn_arr How?

    if (btn_arr[0] is TextBox)
    {
    //for each button saved in our array, recreate it
    foreach (TextBox button in btn_arr)
    {
    add_button(butt on);
    }
  • Plater
    Recognized Expert Expert
    • Apr 2007
    • 7872

    #2
    What? why do you name your textboxe's as buttons?
    Anyway if you want to clear the text from a textbox, just set it's .Text property to ""

    Comment

    • Frinavale
      Recognized Expert Expert
      • Oct 2006
      • 9749

      #3
      Are you trying to hide a button?
      Or hide TextBoxes named "button"?
      Or remove the text from text boxes when you click a button???

      -Frinny

      Comment

      Working...