Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MyProperty_Assign and inheritance?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00265679
Message ID:
00265796
Vues:
16
>If I subclass a class with a custom property that has an assign method coded, I'm noticing in the subclass the default LPARAMETERS statement shows up. Do I need to wipe that out so it doesn't override the inherited code? Or is it alright just to leave it there? TIA!

Roxanne,

Just leave it there. This is a new feature of VFP 6. It carries the parameters statement to the subclasses to make it easier for you to modify the code without needing to go look at the parent class to find out what parameters it expects.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform