>By "stable enough" I meant that the class works fine "as is" there isn't any big reason to use bClass components inside.
Gotcha.
>Factory patterns can be useful. My dfHGrid class has properties that allow the floating shape to come from a user specified class/classlib.
This is a cool thing about VFP: you can instantiate a class from a string. Where you'd have to write a factory method in C++, you can just set a property in VFP.
>So the grid is it's own factory instead of using another factory object.
Most of the time, the factory isn't a separate object--it's just an (overrideable) method that a class calls instead of instantiating objects directly.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only