PDA

Click to See Complete Forum and Search --> : Please help


Antonio Begue
Nov 23rd, 1999, 08:04 AM
in this code:

formA: with text1 and command1
Private Sub Command1_Click()
Form2.Show
End Sub

formB: with command1
Private Sub Command1_Click()
Form1.Text1.Text = "Test"
End Sub

i need to do something like this but without knowing wich form call formb and put "Test" in the form that call the formb

yiming
Nov 23rd, 1999, 08:09 AM
What u trying to do ???

Antonio Begue
Nov 23rd, 1999, 08:16 AM
I want to know which form call a second form

Gaurav
Nov 23rd, 1999, 06:52 PM
U'll need to use the GetParent API call for this.

------------------
Gaurav Mahindra
gmahindra@extentia.com