Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Return a value to a main form from a 2nd form.
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Divers
Thread ID:
00117255
Message ID:
00117257
Vues:
16
>I need to have a main form run a 2nd small lookup form. How do I return a value from the 2nd form back to the main form.

If this form is modal then it's pretty simple: you start the form :
Do form myform TO nRetvalue
and return something from Form.Unload event
Return Thisform.Retvalue
If you use modeless form, then you better create custom property in main form and reset this property when you close lookup form:
**Form.Destroy event
oApp.Mainform.Property1="...."
Edward Pikman
Independent Consultant
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform