Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Why NODEFAULT at all?
Message
De
02/08/1997 17:24:40
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Why NODEFAULT at all?
Divers
Thread ID:
00042939
Message ID:
00042939
Vues:
69
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!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform