Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Subclass method disappears when parent method name changed
Message
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Subclass method disappears when parent method name changed
Miscellaneous
Thread ID:
00148378
Message ID:
00148378
Views:
73
Try this, just to see if I'm losing my marbles:

1. Open a parent class and add a method. Just call the method asdf and put a single * in for its code. Close the class.

2. Open a child of that parent and put a single * in for asdf's code. Close the class.

3. Open the parent class and rename the method via the Edit Property/Method dialog. Close the class.

4. Open the child class. The asdf method has disappeared.

The code is actually still in the VCX, as Scctext shows. But it's inaccessible through ordinary means.

If my test isn't just some sort of weird fluke, this means that extreme caution is required when changing a method name!
Next
Reply
Map
View

Click here to load this message in the networking platform