Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Subclass method disappears when parent method name chang
Message
From
20/10/1998 12:04:57
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00148378
Message ID:
00148528
Views:
19
So you're looking for...um...*relational integrity/cascade updates* between parent class PEMs and children? My gut reaction is that that doesn't make sense...what happens when you update your users apps? IAC, it's an excellent reminder to be careful when renaming. Could be a case of we could be sorry we got what we asked for < s >.

>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.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform