Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SaveAsClass and Scatter Name
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Programmation Orientée Object
Divers
Thread ID:
00943238
Message ID:
00943246
Vues:
18


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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform