Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get rid of a child object in a class at runtime
Message
De
23/08/2002 11:08:16
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00688718
Message ID:
00692947
Vues:
28
>Dragan,
>
>>>>And there is no way to add this_access method to the object you want to avoid?
>>>I would have to modify the Framework class.
>
>>Yes, but the method there would simply "return this" and do nothing else - it would basically be a hook, so the framework wouldn't notice a thing.
>
>Let me see, if I'm getting you right:
>1) Add this_access to the child object class in the FW.
>2) In the container, I change that method, so it return a reference to my child object.
>
>Is that right? Hmmm ... I could test this to see, if it has any side effects.

Exactly what I have in mind. Precisely, under (2), it's "in the subclassed container, change the child's this_access method..."

>I'll let you know, but it might take some more days until my brain has enough free capacity to get back to this :)

In the old days of 40 and 80 meg disks, when I ran out of free space, I went on zipping the stuff that I don't immediately need... :)

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform