Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Subclass question
Message
From
21/07/1998 12:59:54
Rex Mahel
Realm Software, Llc
Ohio, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Subclass question
Miscellaneous
Thread ID:
00119748
Message ID:
00119748
Views:
48
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
Next
Reply
Map
View

Click here to load this message in the networking platform