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
Title:
SaveAsClass and Scatter Name
Miscellaneous
Thread ID:
00943238
Message ID:
00943238
Views:
75
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.
Next
Reply
Map
View

Click here to load this message in the networking platform