Sharing Textbox Control

Zazoie

New member
Joined
Dec 19, 2007
Messages
4
Programming Experience
3-5
** Update ** Nevermind...this question has been answered a ton of times in this forum..sorry for the post.

Im trying to share a textbox control with all other forms. TO be specific I have a textbox that holds a integer which I want to be able to manipulate on various forms. So if txtbox on form1 reads 10 and is shared with form2 which also reads 10 and I change it on form2 to 5 I want both to now read 5 from a click event.

How can I make this textbox used by all forms as one control...can TextBox1.Text be read and manipulated from all other forms? I think thats what Im asking =) I've searched other places but cant get other tutorials to work properly.

Thanks for any help here.
 
Last edited:
** Update ** Nevermind...this question has been answered a ton of times in this forum..sorry for the post.

Im trying to share a textbox control with all other forms. TO be specific I have a textbox that holds a integer which I want to be able to manipulate on various forms. So if txtbox on form1 reads 10 and is shared with form2 which also reads 10 and I change it on form2 to 5 I want both to now read 5 from a click event.

How can I make this textbox used by all forms as one control...can TextBox1.Text be read and manipulated from all other forms? I think thats what Im asking =) I've searched other places but cant get other tutorials to work properly.

Thanks for any help here.

Article here:

http://www.devcity.net/Articles/117/multipleforms4.aspx
 
Back
Top