Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Refer to top level form from child form
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00633056
Message ID:
00633107
Vues:
19
Thanks but that's not what I am wanting to do - my application is made up of a top-level form (frmDesktop) with a tree-view control on it - double-clicking on various nodes of the tre-view launches new forms - no problem...

When a user adds a customer using one of the child forms - when they save the record I ask the question "Do you want to add a Pet for this customer?" - if they reply yes I want to close this current child form and launch another child form called frmAddPets - all the forms are launched through double-clicking the tree-view - it checks the node value and the creates a new instance of whatever form I want frmAddPets for example...

My question is from the child form - how do I set pNodeValue which is a property of frmDesktop and then programmatically trigger a doubleclick on the tree-view within frmDesktop...

_screen.activeform references the current child form
this.parent doesn't work

Any ideas?

Thanks again
Chris Maiden
Email
Web
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform