Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning to calling form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00105030
Message ID:
00105127
Vues:
33
John,

Just pass thisform to the called form, store it in a property of the child form, and in the Destroy this.oCallerForm.Activate()

>I included a parameter statement in the init event of the form to hold the name of the form that called this form. I then assigned the parameter value to a property I created on the form. To instanciate the form from another form I do this: DO form WITH thisform.name which passes the name of the calling form to the called form and the parameter is store in a custom property. When releasing this form I can then use the custom property to go back to the form that called this form. This works okay so far but is there a better way to do this?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform