Put the password_form in your uses list then do the following...
Given: Form1 Name = Form1 saved as Form1Form Form2 Name = Form2 saved as Form2Form Variable1 Name = Var1 location = Form1 Variable2 Name = Var2 location = Form2
you can of course substitute your own form names above, this was just done to lay things out.
From a procedure on Form2 do:
var2 := form1form.var1
When calling a variable from one form to another, you have to use the name that the form was saved as (Unit name). If you are calling the value from an object on another form you would just call the form name like:
var2 := form1.OBJECTNAME
hope this helps
Urqa
Quote
On Sat, 6 Nov 1999 06:56:40 +0800, "percy" <percy...@163.net> wrote: >how to communicate with 2 form ? >i want get the password form password_form, but how to communicate it?