Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MyProperty_Assign and inheritance?
Message
 
À
16/09/1999 17:46:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00265679
Message ID:
00265700
Vues:
16
It is a wierd little bugger isn't it. If you delete it, it works correctly, but if you add anything to it, then delete everything, you lose the inheritance.

>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!
Roi
'MCP' Visual FoxPro

In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform