Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
CreateObject() vs NewObject()
Message
From
22/08/2007 16:19:11
 
 
To
22/08/2007 15:04:38
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP1
Miscellaneous
Thread ID:
01249678
Message ID:
01249703
Views:
33
>Newobject() with 2nd parameter
>con:
>- if you move a class, all the newobject() calls need to be edited (or you should use a factory)

Not really -- if you add the visual class to a project, then in the parameter only specify the name of the file and not the path. The visual class will be part of the built application and will be found regardless of the file location at build time.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform