Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Subclassing forms
Message
De
05/08/2003 16:22:14
 
 
À
05/08/2003 16:03:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00817054
Message ID:
00817067
Vues:
27
This message has been marked as the solution to the initial question of the thread.
You don't see the code in the inherited methods in the editor, but it runs if you don't add code to the same method of the subclass. If you do add code, you can run the parent method with the DODEFAULT() function.


>Hi everyone
>I created a visual class of a form that contains code in the init and load procedures. I also have code in a click event on the form class. I created a new subclass BASED ON the class described above. All properties and controls were inherited as expected, however the code within the procedures and controls was not inherited by the subclass form.
>
>My question: Am I doing something wrong, or is it not possible to inherit the code from a visual class, to a visual class. It it is possible to inherit the code in the subclass, how does one go about doing that?
>
>thanx, vince
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform