Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Does VFP 9 have this feature?
Message
 
To
08/10/2004 18:03:12
Mike Yearwood
Toronto, Ontario, Canada
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro Beta
Miscellaneous
Thread ID:
00949117
Message ID:
00950076
Views:
22
>Not really. I can have a single .prg called thefunc.prg. I can DO THEFUNC or I can llSuccess = THEFUNC(). I don't have to SET PROCEDURE TO THEFUNC first.
>
>I always have to have SET CLASSLIB TO to access that single class. Further, if that class is subclassed, VFP must be doing a SET CLASSLIB TO the parent class. There is also the issue of opening different classlibs with aliases and basically having to manage the entire set of opened classlibs.
>


I think you can live without SET CLASSLIB TO (with VFP8 at least), just use NEWOBJECT() instead of CREATEOBJECT()

NEWOBJECT(cClassName [, cModule [, cInApplication[, eParameter1, eParameter2, ...]]])

Same with subclassing, DEFINE CLASS MyChild Class AS MyClass OF C:\CLASSES\MyClasses.VCX
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Reply
Map
View

Click here to load this message in the networking platform