how to know when a form runnig was invoked from another or not?

i mean:

case1:

form1 have a click and inside invoke form2.show()

case2:

only form2 are lauch

now in form2 i have a button with a event Click:

if are invoked from form1 i need to show anagin form1 and close form2
if not, onlt close form2 and terminate program

i' was lookin for ojbect management on gambas wiki and only found Me;;
Last;; and Me.Parent but none of them helpme...

Lenz McKAY Gerardo (PICCORO)
http://qgqlochekone.blogspot.com
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to