Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Returning a value from a class form
Message
 
À
09/11/2001 16:27:48
Dave Macfarlane
Condo Navigator Ltd.
Alberta, Canada
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00579966
Message ID:
00580896
Vues:
22
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform