Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Will this work?
Message
From
29/07/2003 16:35:59
 
 
To
29/07/2003 09:22:40
General information
Forum:
Visual FoxPro
Category:
Classes - VCX
Title:
Miscellaneous
Thread ID:
00814379
Message ID:
00814705
Views:
11
Hi Fabio,
actually that works, because myClass.Init() creates an instance of itself in SomeControl.parent, so myClass.Destroy() doesn't trigger here.
But the concept doesn't work. I tried it and it doesn't work.
Evidently SomeControl.Destroy() doesn't execute because it can't get rid of the oMyObject.


>Hi Bill,
>
>I think this isn't ok.
>
>
>SomeControl.Init()
>  createobject( 'myClass', this ) && fire myClass.Init and myClass.destroy
>
>
>Am I correct in my assumtion that SomControl.parent.destroy() would trigger myObject.destroy() before SomeControl.destroy()?
>
>No
>
>Fabio
Bill Morris
Previous
Reply
Map
View

Click here to load this message in the networking platform