Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning a value from a form in a class
Message
From
20/06/2000 09:25:25
 
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00380150
Message ID:
00382154
Views:
28
>Another possibility is to pass a reference to the calling object as input to the class at creation time; have the form populate a member of the passed object, creating it as necessary.

Why? Why not either just pass the parameter/return object every time, or just pass the parameters and expect a return value in a specific property of the called class. I don't see where using the calling object as the parameter object would be an advantage. If they're developed seperatly, the called object could stomp on useful properties in the calling object.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform