Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MyProperty_Assign and inheritance?
Message
De
16/09/1999 17:45:24
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00265679
Message ID:
00265688
Vues:
18
I just tested it. It works. The sub inherits the behavior of the parent just fine.

>>Logic dictates to dump it unless you want your new class to have different behavior. Hmmm...
>
>Exactly... and I got a whole bunch of subclasses to setup before I can get close to testing, was hoping for a quick heads up here. But isnt there something with VFP6 that shows you the parent LPARAMETERS statement? I was thinking maybe it wont be an inheritance override after all?
>
>>
>>>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!
------------------------------------------------
John Koziol, ex-MVP, ex-MS, ex-FoxTeam. Just call me "X"
"When the going gets weird, the weird turn pro" - Hunter Thompson (Gonzo) RIP 2/19/05
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform