Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SaveAsClass and Scatter Name
Message
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00943238
Message ID:
00943246
Views:
19


Is there some difference in the way SaveAsClass treats properties depending on their origin?


YES. By design ? I think not.

With ADDPROPERTY() you have the same result,
SaveAsClass ignore these properties.
oBS=NewObject("Custom")
oBS.Addproperty("cSomeNewProperty","")
Addproperty(m.oBS,"cSomeNewProperty2","") && SaveAsClass ignore cSomeNewProperty2
oBS.SaveAsClass('\cSomeLib','savedclass')
Fabio
Previous
Reply
Map
View

Click here to load this message in the networking platform