Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Class dependence
Message
 
 
À
10/12/2003 13:55:28
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00857593
Message ID:
00857821
Vues:
27
Stefan,

I don't know about "much" cleaner. NewObject() requires the classlib name be be hardcoded at the point of use.

There also is the loss of a capability to put different classlibs into the path under different conditions have different classes actually instantiate.

>An alternative would be to use NEWOBJECT() or .NewObject() which do not require SET CLASSLIB. Much cleaner.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform