Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Subclass question
Message
De
21/07/1998 12:59:54
Rex Mahel
Realm Software, Llc
Ohio, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Subclass question
Divers
Thread ID:
00119748
Message ID:
00119748
Vues:
49
All,

I have a class with 2 custom methods, Method1 and Method2.
Both have code. I drop the object on a form and override Method2. When I run the form, I call Method1 of the object which runs the code in the superclass. Method1 calls this.Method2 which I thought would run the overriden Method2 in my object, but it is running the superclass Method2.

Did I miss something about inheritance?

TIA

Rex
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform