Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Subclass method disappears when parent method name chang
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00148378
Message ID:
00148576
Views:
32
>That's actually by design.

Then the design is simply wrong. No program, of any kind, should destroy data without warning and with no reasonable expection that this would happen. I know of no other program where data is destroyed simply by renaming an object.

>In VFP the child class does only know the name of the method, nothing else. There's no ID telling a method what method it is. And the parent class has no link to the child class, only the child class a link to the parent class.

Right, I understand this. What I expected to happen was the the child class method would remain in the child class under the original name. The fact that this doesn't happen is a design bug.

Naturally, I don't expect VFP to locate all subclasses (which may be in another country!) and change the method name.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform