Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Design Pattern question (in hindsight)
Message
 
 
To
18/04/1999 20:21:58
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Miscellaneous
Thread ID:
00209551
Message ID:
00209980
Views:
31
Nancy,

>Another example: I have a listbox subclass that adds a custom property called "PopulateList". This subclass calls PopulateList in the Init, but it doesn't code the Populate list. I let subclasses control that. Is this an example of a Template Method design pattern?

This is just an abstract method in the base class, the derived classes are responsible for putting the necessary code into the method.
df (was a 10 time MVP)

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

Click here to load this message in the networking platform