Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why NODEFAULT at all?
Message
From
02/08/1997 17:24:40
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Why NODEFAULT at all?
Miscellaneous
Thread ID:
00042939
Message ID:
00042939
Views:
71
IMHO there should be no need at all for NODEFAULT; if you redefine a method the new code executes and not the old one -- DODEFAULT() is there should you want the old functionality. For example, if I redefine KEYPRESS, then the original default code should not execute -- but it does unless you use NODEFAULT; weird! OK, enough of that; only Microsoft can change this behavior.

At least, does anybody know where can you find which objects do have a default method? So far, my programming method has been (!) "CODE IT; IF IT DOES SOMETHING STRANGE, ADD NODEFAULT". :(

Thanks!
Next
Reply
Map
View

Click here to load this message in the networking platform