Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Copy classes to new applications or use central classes
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00144539
Message ID:
00145284
Views:
40
>Those components are stable enough that I've not really found a need to use a Factory to build them at run time.

The Factory patten doesn't have to do with stability (as I understand it), but with the ability to call a method to create an object of the desired subclass. If you subclass a container, e.g., the superclass would call a factory method to create objects of the appropriate subclass.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform