Bill,
>Hi Mario,
>
>I understand inheritance with sub-classes.
>What I don't understand is why I should have a level of "abstract" classes (that's never used) between VFP's BaseClasses and my "concrete" myBase classes that I use to create objects with. When I need different behavior I create a sub-class from myBase, but when I want a universal change I just modify myBase. What does the "abstract" class accomplish?
>
I think you do this to insulate against changes made by MS to the base classes. If MS changes the font of the textbox to Wingdings you'll need to go to every textbox you have and change the font back to whatever. If you had subclassed the base class textbox and used it as the base you would only need to change it there. I don't know how the term "abstract" got mixed into this but it is incorrect (from what I know anyway).
Dan
Previous
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