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:
00688747
Views:
21
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform