Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Changing class method name
Message
De
04/01/2006 11:32:28
Jim Winter
Jim Winter Consulting
Hinesburg, Vermont, États-Unis
 
 
À
04/01/2006 11:24:35
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
MS SQL Server
Divers
Thread ID:
01083153
Message ID:
01083165
Vues:
13
>Thanks Fabio,
>
>I thought of doing that, I thought maybe there was an easier way. Have lots of forms that might have code in this method. This looks like a bug to me.

Not really. When you change the name of the method in the parent class, the child class isn't in memory and can't inherit the name change - just the new name which, when the child is instantiated, will look like a new method. There's no way for the child class to update the code.

Regards,
Jim
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform