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
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00688718
Message ID:
00688747
Vues:
19
Hi Nadya,

>How about trying to set it to NULL? May be you can try to do these manipulations in some form's method instead?

"is an event, method or object" is the result. Doesn't work ...

Armin

>>Hi Hardik,
>>
>>>The 3rd option should work. Where are you coding it? You can put this in Init() event of the parent object.
>>
>>Yes, I have that code in the Init() of the parent class. Here's some more information about the status after the RemoveObject:
>>
>>? TYPE("THIS.oObject")
>>-> "O"
>>
>>? THIS.oObject.Name
>>-> Unknown member -> This is ok!
>>
>>It seems as if the object is not really removed completely.
>>
>>Armin
>
>How about trying to set it to NULL? May be you can try to do these manipulations in some form's method instead?

Armin Neudert
Regional Director (Stuttgart) of German FoxPro User Group dFPUG

MCP for Visual FoxPro

Expert/Editor of the VFP section in the German Codezone community portal
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform