Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is it possible to return a value from a class?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Titre:
Is it possible to return a value from a class?
Divers
Thread ID:
00476794
Message ID:
00476794
Vues:
65
I know you can do something like
do form to myvariable

Is there a similar way to get a variable from the object as it is released?

obj=createobject("objtomake")
then when the object is released some variable is set.
i.e.
in the release event
return obj.RetVal would place the value of obj.retval someplace

TIA,
Mike
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform