Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Need opinion/advice about instantiating forms
Message
De
20/11/2005 11:54:28
 
 
À
19/11/2005 19:59:57
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01070570
Message ID:
01070628
Vues:
15
Hello Greg,

>When you create an object of the form via NEWOBJECT(), and it is desired to return a value (modal form), you cannot return a value via the RETURN statement in the Unload() event (no variable to catch the value declared). In this case you would need to pass an object reference from the calling program to hold the return values. However, in the DO FORM command, you can return a value via:
>
>DO FORM DateEntry TO llReturnValue

I just use global variable or application object property to return whatever i want to return. also, you can return anything you want from the form directly if the form is modal.
* Human is a question asked by birth and answered by death. Machine is another kind of question with another kind of answer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform