Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
DoDefault() as a standard
Message
De
07/04/1998 15:55:31
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
 
À
07/04/1998 15:08:11
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00090237
Message ID:
00090256
Vues:
18
This would be occasion for a hooks. IE, have a method in your class that is, say, PostClick. Then your click method would do what it needs to and then call postClick, which is where you'd put your specialized code in the subclass...

>I have built a framework for a project that I am part of. As others create forms, they often write code in a method without realizing that it's parent has code that will now not run.
>
>There is a list of the methods with code in the framework, but it doesn't always get looked at. Sometimes, code is added to a base method that was previously empty. If one of the already written forms has code in this method, the new base level code will not run in that form.
>
>Question: How reasonable is the solution that ALL code entered into a form or control's method be started with a DoDefault(), even if the parent(s) of this method are currently empty?
>
>Bob
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform