Information générale
Catégorie:
Codage, syntaxe et commandes
One way to look at NODEFAULT;
An object in Visual FoxPro has methods that are user defined and are sub classed for a specific reason. The sub-classed object will inherit the code of the parent and if this is not desired you would add NODEFAULT at the beginning of the sub classed object method of interest. Doing so will allow you to write code required for your particular need after NODEFAULT while not disturbing additional method code of the parent object. This can be very handy for those occasions when an object class is not to be modified but the object can be modified at the form level.
Tom
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement