Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Making classes truly independent
Message
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00015453
Message ID:
00015459
Views:
25
>I had to try and encapsulate a class today to send to someone. Problem was that the class was a container that contained objects whose base class was in a different vcx file so I couldn't just send the one vcx file.
>
>Solution:
>
>Copy all necessary classes into the new vcx file. Now go and type
>
>use newfile.vcx
>
>Goto the classlib field and change all the values from the source vcx file to the newfile.vcx
>
>close the newfile.vcx
>
>Remodify it in the class so the new vct file is generated and thats it. You now have a new vcx file
>that is independent of any other vcx files.
>
>If I'm not being clear let me know.


Would a COMPILE CLASSLIB form the command window have worked as well as just making a change and then resaving?
Previous
Reply
Map
View

Click here to load this message in the networking platform