todoink
Member
- Joined
- Jul 27, 2006
- Messages
- 15
- Programming Experience
- Beginner
Hello,
Can you help me with this? Well, I have two forms. Now on form1, I have a textbox named txt_input and a button.
Now when I click the button, it will show form2. And my code goes like this :
dim form2 as new form2
form2.show()
Run it and everything is fine.
On form2 by the way, I have a label.
Now here's what I want to happen. I want to enter a message on Form1's textbox. And when I click the button on form one, I want my message appear on the label of form2.
It's like passing val(txt_input.text) to Form2's label.
If possible, can you please offer me a code. The simplest code possible. Thanks a lot and much appreciated.
Can you help me with this? Well, I have two forms. Now on form1, I have a textbox named txt_input and a button.
Now when I click the button, it will show form2. And my code goes like this :
dim form2 as new form2
form2.show()
Run it and everything is fine.
On form2 by the way, I have a label.
Now here's what I want to happen. I want to enter a message on Form1's textbox. And when I click the button on form one, I want my message appear on the label of form2.
It's like passing val(txt_input.text) to Form2's label.
If possible, can you please offer me a code. The simplest code possible. Thanks a lot and much appreciated.