Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to return a value from a form?
Message
De
27/11/2003 11:40:32
Mike Sue-Ping
Cambridge, Ontario, Canada
 
 
À
27/11/2003 11:13:44
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00854035
Message ID:
00854051
Vues:
22
Thanks John, I'll give it a try.

I am curious about the following issue with forms. If I create a form (frmTest) based on my form class and then put the following code:

DO FORM frmTest WITH "string1", "string2" TO lcChanged

I can see how the form will return a value to the variable lcChanged in it's Unload() event. How do I do this if I don't create a form in the VFP forms designer but instead put code to CREATEOBJECT()? Where is the return value going from the form class's Unload() event?

Mike

>Hi,
>The final check : make sure you issue THISFORM.HIDE() instead of THISFORM.RELEASE() in your modal form
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform