txtbox Change from another form

Talk2Tom11

Centurion
Joined
Feb 22, 2004
Messages
144
Location
Westchester, NY
I was wondering if there was a way to change the text in a textbox in one form based on a textchange on another form. For example:

form 1 has a textbox and form 2 has a textbox. I want it to be that when the text in the textbox on form 1 is changed... the text in the textbox on form 2 changes as well.

if anyone knows any code that can help me out please post.
 
What you need to do is declare a variable for form2 at the class level in Form1, then in the TextChanged event you can simply refer to form2 through this variable.
 
Back
Top