Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MyProperty_Assign and inheritance?
Message
De
17/09/1999 07:34:27
 
 
À
16/09/1999 17:46:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00265679
Message ID:
00265792
Vues:
19
Then are we saying it is necessary to add executable code to the method to cause it to override the parent method? If I remember correctly, in previous versions any statements in the subclassed method overrode the parent method, correct?

>It's a pain in the ass is what it is, but it seems to work whether or not you wipe it out or not.
>
>>Oh wait... even if I wipe it out, once I leave that method and come back it's there again. So I guess it isnt an inheritance problem.
>>
>>>Logic dictates to dump it unless you want your new class to have different behavior. Hmmm...
>>>
>>>>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!
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform