I need to get the context of a textbox, placed on a special form into a string variable which I can use in another form.

I need this because I want the user of my app to write some text in a textbox on a popup-form and press a Commandbutton which will close the popup-form, retun to the standard from and there use the context of the textbox in a function.
I can't use the inputbox function, since I need the textbox to use Password chars (or is it a function to get the inputbox to do that?).
I've tried something like Form1.strText = Form2.Text1.Text, but it doesn't work.

So, how can I use variables in different forms?

Hope you can help me,
thanks,

Pentax