Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Skipping inheritance
Message
De
08/06/2003 18:28:21
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivie
 
 
À
08/06/2003 18:25:34
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00797802
Message ID:
00797837
Vues:
31
>>>Unfortunately, the parent class is one of the FFC classes. I don't want to muck with it at
>>>all.
>>
>>Yes, I agree that it is preferable to avoid this.
>>
>>In this case, you could search for the grandparent and hardcode it.
>>
>>Also, I am just seeing that according to the help, aclass() is supposed to give you the class names in the inheritance. Perhaps you can obtain the grandparent with this function.
>
>Thanks Hilmar,
>that did it. Took a little while to work out the kinks, but it works.

OK, great. It was precisely the part of "working out the kinks" which I preferred to leave as an "exercise to the reader" <g> - I suppose you have to get the class name, and then use macro substitution.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform