Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get rid of a child object in a class at runtime
Message
 
To
12/08/2002 14:06:07
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00688718
Message ID:
00688732
Views:
17
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform