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
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Miscellaneous
Thread ID:
00688718
Message ID:
00688739
Views:
23
>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?
If it's not broken, fix it until it is.


My Blog
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform