Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Getting the return value of a object-created form
Message
De
12/03/2008 12:12:51
 
 
À
12/03/2008 12:02:20
Héctor Lizarraga
Gobierno Del Edo de Querétaro
Querétaro, Mexique
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01301360
Message ID:
01301368
Vues:
6
Add a new Form property, I'll call it xReturnValue. Also, make the form Modal
oForm = CREATEOBJECT("MyFormClass")
oForm.Show()
* User works with the form. In the QueryUnload or the close button of the form, save the return value to the form property
xRetVal = oForm.xReturnValue
oForm.Release()
>Hi
>
>How can I catch the return value from a form that is created with CREATEOBJECT?
>
>Thanks in advance
>HAL
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform