Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Subclass method disappears when parent method name chang
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00148378
Message ID:
00148576
Vues:
33
>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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform