Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Abstract classes useful?
Message
From
03/06/2008 16:10:48
 
 
General information
Forum:
Visual FoxPro
Category:
Object Oriented Programming
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01320973
Message ID:
01321421
Views:
12
>Save() was merely used by me as an example of Method Overloading. Some developers add certain methods and properties to all their classes as part of their homemade (attempt for a) framework.

understood.

Not considering how and where you would implement save() still such a button would get concrete as soon as the form it's on is a concrete form. And if there is no code or anything added or implemented in that button on that way of subclassing, it's nevertheless a concrete button. If there would need to be somthing implemented which, when missing will cause errors, it will cause errors, then it's an error of usage. But it's not an error of the class to instanciate then.

Bye, Olaf.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform