Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
NoDefault and DoDefault
Message
De
23/04/2001 11:11:01
 
 
À
23/04/2001 11:07:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00498592
Message ID:
00498597
Vues:
7
>Could someone please post an explanation of when these two items would be needed? Thanks to all........Rich


DODEFAULT is used when you put code in the method of a subclass and you want the code in the parent class to run.

NODEFAULT tells VFP to not run the default functionality of a method. For example, some developers put code in the keypress method to do specific things on certain keypresses. Normally that keypress would be passed through after that for VFP to process. Putting NODEFAULT in the keypress method does not run the standard VFP functionality.
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform