title: Visual Basic 2010 Copy text from one textbox to another
body: <p>I have two forms, and I want to get the value of textbox1 from form1 and display it as the value of textbox2 in form2. I also want the text in textbox2 to appear in textbox3 in the same form (form2), but when I run the program, the values don't show up on textbox3. I hope you're getting the logic because it's really confusing and I can't put it anymore simple. Here's the code I'm trying to do:</p>
  
  <pre><code> 'this is when i get the value of textbox1 from form1 to form2's textbox2
   'this part works, because textbox1's value gets displayed on textbox2
   Private Sub form1_FormClosing(ByVal sender As Object, ByVal e As _
   System.Windows.Forms.FormClosingEventArgs) Handles Me.FormClosing
  
       'i want to forward the values before form close
       form2.textbox2.Text = textbox1.Text
  
   End Sub
  </code></pre>
  
  <p>I want to get the value of textbox2 and display it on textbox3 (both are on the same form, form2), so I use</p>
  
  <pre><code> textbox3.Text = textbox2.Text
  </code></pre>
  
  <p>However, the value doesn't get displayed on textbox3. This is where my problem is. I hope anyone could help me on what I should do here. I also hope you get it clear :(</p>
  
  <p>EDIT: I have already solved this one by using a counter so that the value of textbox1 can be displayed directly on textbox3. Thank you guys :)</p>