|
|
|||||||||
|
|||||||||
|
|||||||||
| |
|||
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
I want to use 2 forms to start with. Just for simplicity, assume Form 1 has just a textbox and a buton that links to form2. Form2 would have a label1. I want label1 on form2 to display the text typed in textbox1. I have tried creating a module that would name the text in textbox1 as a public string. THen tried to have label1 = variable. But it isn't working. Any help would really be appreciated.
|
|
#2
|
||||
|
||||
|
Hi Russ, welcome to the forums.
To make it easy for people to answer your question, can u plz state the language/platform and a brief desc of your problem in the Subject. thanks |
|
#3
|
|||
|
|||
|
It sounds like the language you are using is VB. If it is, you can try the following:
Form1 textbox button Form2 label1 In the load/activate (depending) event of form2, place the code: label1.caption = form1.textbox1.text |
|
#4
|
|||
|
|||
|
guys i really think the forum should be restructured...like following
-asp.net/C#/VB.NET/Winform/WebServcices etc - PHP - MYSQL -MSSQL -ASP/VB - JAva/Oracle what do u think
__________________
Regards, James Yang .NET Developer / Network Engineer MCSE, MCDBA, MCSA, CCNA http://www.yellowpin.com/ http://www.opentechsupport.com/ |
|
#5
|
|||
|
|||
|
I'm Brent Liu.
From China. |
![]() |
| Viewing: Dev Articles Community Forums > Programming > ASP Development > I am just learning and I am stuck |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|