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
 
À
12/08/2002 14:06:07
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00688718
Message ID:
00688732
Vues:
16
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

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