Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Subclass method disappears when parent method name chang
Message
De
20/10/1998 12:04:57
Nancy Folsom
Pixel Dust Industries
Washington, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00148378
Message ID:
00148528
Vues:
20
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.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform