Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning a value from a class form
Message
 
To
09/11/2001 16:27:48
Dave Macfarlane
Condo Navigator Ltd.
Alberta, Canada
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00579966
Message ID:
00580896
Views:
21
Hi Dave,

Somewhere in this debate, a real problem with your code has not been pointed out. You should never write code that calls Init programatically. Init is an event that occurs automatically when the object is instantiated. The fact that you need to call it should point out to you that this implementation is begging for a custom method. Also, you can pass the birthdate to the Init method in the NewObject function. This would be more correct and efficient than manually calling the Init.
Mike Feltman

F1 Technologies
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform