BOb,
>Perhaps I am missing something obvious, or not so obvious?
The concept I have in mind is outlined in Steve Black's article "Hook Operations" in the 08/97 issue of FoxTalk magazine.
In addition to using the simple hook methods that are currently implemented in the Framework, Steve discusses a more robust solution by greatly expanding the concept of hooks...hook objects, procedural hooks, data-driven hooks.
In the article, Steve outlines the pitfalls of using inheritance to solve the problem of extending the functionality of a class and provides a detailed explanation that it would take quite a while to explain in a single UT message!
After you take a look at the article, let me know what you think.
Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com