Hello.
Is it possible to get in one object the name of object who load him.
Example.
I have Form1, Form2 and Form3. In Form3 I want to know who load Form3: Form1 or Form2?
Thanks
Andrej
One way that you could do this is for the loading program to put its own name in the Tag property of the form.
For example, the following is the code from Form1.
Sub <whaterever>
Load Form2
Form2.Tag = Me.Name
End sub
Now, any other form can look at Form2.Tag and see the Name of the form from which Form2 was loaded
Good Luck
------------
Select * from Users where Clue > 0
0 rows returned
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.