Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Return value from a modal form
Message
De
15/12/1997 11:02:53
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00065924
Message ID:
00065939
Vues:
37
>First issue the following command:
>
>DO FORM MyForm TO MyReturnValue
>
>Then in the form's Unload event:
>
>RETURN (value)
>
>MyReturnValue will then contain your desired result.

That work for a "normal" form created with the form designer, but my form was created via a CreateObject(). Here's my code:

loForm = CreateObject("cModalForm")
loForm.Show(1)
loForm = NULL

TIA
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform