kate 0

kate 0

  • NA
  • 15
  • 0

Display only the same instance of form, not a new instance.

Jan 20 2005 4:11 PM
Okay, im pretty new so please be patient, i'm creating a small application that contains 4 forms. I'm having trouble with navigating through these forms whilst keeping the user entered values on each of the forms in place. For example on Form 2 there is a button to Form 3, the code that i am using to link these 2 forms is Dim F3 As New Form3 F3.Show() This works fine and will display a new instance of Form2. HOWEVER, the problem comes when i then try and use the same code to link back to Form 2 - i create a new instance of the Form (therefore losing all of the data in my text boxes, radio buttons etc) instead of linking back to the initial Form2. All of my forms have a link to the next and previous form, and i need my user to be able to review the previous form at any time - so this is quite a big problem. How do i overcome this??

Answers (2)