Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Changing method names in Parent Class
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00323233
Message ID:
00323252
Views:
16
Hi Jon,

You should only have to open the parent class and change the method's name there. The name change will propegate to the sub-classes.

You will not see the code inherited from the parent class in the sub-classed objects. This is standard behavior. The method will execute the code in the parent.

If you need to edit the code, you'd do so in the parent class and the sub-classes would automatically inherit the changes.

>I have a parent class that has a method name I want to change. I have several other sublasses, of this parent, in different .VCX files. I was under the impression that If I opened all invloved .VCX files and changed the method name that the change would propagate to the subclass code.
>
>However, when I try this my subclasses get the new method name but all of the previous method code is gone.
>
>What am I doing wrong???????
>
>Peace
>Jon
kenweber
GCom2 Solutions
Microsoft Certified Professional

Previous
Reply
Map
View

Click here to load this message in the networking platform