Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Returning a value from a form in a class
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00380150
Message ID:
00382840
Views:
21
Nick,

There is nothing wrong with AddObject(), it's needed for things where you are using the Class Factory design pattern.

>My point is also that saying something like "AddProperty() (or AddObject()) is a bad practice" we remove it from our set of tools. But if you do not block yourself with such statements you may suddenly find very useful and surprising
>usage for it.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform