Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is it possible to return a value from a class?
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Is it possible to return a value from a class?
Miscellaneous
Thread ID:
00476794
Message ID:
00476794
Views:
67
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
Next
Reply
Map
View

Click here to load this message in the networking platform