|
-
Dec 3rd, 2000, 02:14 PM
#1
Thread Starter
Junior Member
I am trying to use information from my first form and carry it over to a second/third form and put in a label. I load the 2nd/3rd forms in the form_load of the first (has to be this way) and when the user clicks the 'next' button I put the data received from the textbox into a global variable. Now since I have loaded the other forms I cannot move the stored values into the lables in the form_load procedure since it has already been done. I thought using the Gotfocus procedure I could change my labels this way but it does not seem to work. Is there any other way (under these circumstances) that I can take the stored data and move it to the labels before I show the screen?
-
Dec 3rd, 2000, 04:02 PM
#2
Fanatic Member
On your "Next" button simply place a string of code like the following:
Code:
Form2.Text1.Text = Text1.Text
This will tell form2 to set it's textbox to text1's text. Is this what you want?
www.RealisticGraphics.net
Running VS.Net Enterprise & VB 6
Other Languages: JavaScript, VBScript, VBA, HTML, CSS, ASP, SQL, XML
MSN Messenger: kmsheff
-
Dec 3rd, 2000, 04:14 PM
#3
Thread Starter
Junior Member
That is exactly what I wanted
Thank you for answering this for me.
-
Dec 3rd, 2000, 06:58 PM
#4
Fanatic Member
www.RealisticGraphics.net
Running VS.Net Enterprise & VB 6
Other Languages: JavaScript, VBScript, VBA, HTML, CSS, ASP, SQL, XML
MSN Messenger: kmsheff
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|