>
>Hope that makes sense.
OK Vic, I see what you are saying about composition, but I do not see how it is different from delegation. Your form needs to run "DarnIt" so it delegates the work to the Curses class:
Function DarnIt(tnStressLevel As Integer) As Boolean
DarnIt = oCurses.DarnIt(tnStressLevel )
End Function
>
>I find myself very worried about what VB code will begin to look like for the first year after Inheritance is implemented. In the mid-nineties, we saw an awful lot of bad code and framework design in VFP due largely to inheritance-happy coders, and I fear we will see the same once this new toy is unleashed on the VB side of things. Everything has its place, of course, but.....
I think that, like us, many will have to learn from their mistakes. Remember when you built all your classes based on the native base classes and then had to go back and redo everything when you realized that you should have subclassed the native classes first.
George