Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning to calling form
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00105030
Message ID:
00105127
Views:
34
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform