Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Subclass method disappears when parent method name chang
Message
From
21/10/1998 14:51:49
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00148378
Message ID:
00149035
Views:
27
>>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.

This is not data destroyed. It's a reference lost. Say, would you like VFP to fill your screen with tons of warnings every time you Modify Structure - just because you had the old name of a field already mentioned in some .prg already? Or, if you issue "Do Form Whatever" in a .prg, and it can't find the whatever.scx, so it won't compile (or even save) the .prg?

I think you're just asking too much.

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

Quite so, therefore it simply doesn't care - it assumes we know what we're doing.

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform