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
Titre:
SaveAsClass and Scatter Name
Divers
Thread ID:
00943238
Message ID:
00943238
Vues:
76
Hallo,

I've tried the following:
use SomeTable
oBS=NewObject("Custom")
oBS.Addproperty ("cSomeNewProperty","")
scatter Name oBS Additive
oBS.SaveAsClass (cSomeLib, cSomeClassName)
What I wanted to achieve was a visual class cSomeClass in Library cSomeLib with all the Properties of oBS, including the one created with AddProperty and those created with Scatter Name.

But what I get is the new class that has the the Property cSomeNewProperty but no trace of the properties created with SCATTER NAME, though the object oBS itselve has them.

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

I am probably the only one who doesn't know it...
Alexander Lerner
a_lerner@heinrich-schmid.de

The life is somewhat easier than it seems to be.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform