Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Return value from form created with CreateObject() ??
Message
De
15/01/1999 11:52:56
Eric Barnett
Barnett Solutions Group, Inc
Sonoma, Californie, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00176044
Message ID:
00176541
Vues:
32
Or, in a similiar fashion, you could use a parameter object:

oParameter=CREATEOBJECT("ccparameterobject")
oForm=CREATEOBJECT("form_class_test",oParameter)

Then oForm modifies values of oParameter.

>Klas,
>Have you considered passing the calling form to the created form (as an object-type variable), and then storing the values you wish to return to the calling form before exiting the created form? I handle most of my returned values this way.
>
>HTH
>Barbara
>
>>Hi,
>>We are considering putting a number of forms in classes and open them with oForm = CreateObject("form_class_test").
>>Eveything seems to work fine except one thing: Some of our forms return a value and if we do the above we do not know how to get a hold of this value without saving it to a global varible.
>>
>>Does anyone know of a better way ??
Eric Shaneson
Cutting Edge Consulting
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform