Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to return value from modal form?
Message
 
 
À
05/07/2007 15:13:39
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01238051
Message ID:
01238059
Vues:
8
>I know this one returns value from UNLOAD form event...
>DO FORM MyModalForm WITH param1, param2 TO returnvalue
>
>But how to return a value with this one... ?
>oForm = CreateObject("MyFormClass", param1, param2)
>oForm.Show(1)
>RELEASE oForm

One of the ways is to pass a parameter object and update/add properties you need to return.
If it's not broken, fix it until it is.


My Blog
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform