Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to deal with object's referencing each other
Message
 
 
To
21/08/2003 04:50:46
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00820420
Message ID:
00822195
Views:
13
Kevin,

No it doesn't, it's an event that occurs once all references are gone. You can explicity call Destroy() or use a custom CleanUp code:
* class.CleanUp
if ( isobject( this.oref ) )
   this.oRef.Ref = .null.
endif

this.oRef = .null.
return


* class.Destroy
this.CleanUp()
return dodefalt()
>Hi David, your first suggestion sounded promising, but didn't seem to work.
>
>Is the Destroy Method fired at all if an object is still being referenced?
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Previous
Reply
Map
View

Click here to load this message in the networking platform