Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Class dependence
Message
 
 
To
10/12/2003 13:55:28
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00857593
Message ID:
00857821
Views:
26
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform