Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Skipping inheritance
Message
From
08/06/2003 18:28:21
Hilmar Zonneveld
Independent Consultant
Cochabamba, Bolivia
 
 
To
08/06/2003 18:25:34
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00797802
Message ID:
00797837
Views:
32
>>>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)
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform