realbasic-nug
[Top] [All Lists]

Destructor in RB object ?

To: REALbasic Network Users Group <realbasic-nug at lists dot realsoftware dot com>
Subject: Destructor in RB object ?
From: Kent Sorensen <kents at snak dot com>
Date: Thu, 20 Mar 2003 14:45:28 -0500

My App object owns a list of objects of a custom classs, and the objects may be dirty. ie. then need to be written out to disk.

I know the App object receives the Close event, but there are no default events defined for my custom classes.

Is there a way for an object to be notified that it is about to be thrown out ? ie. a destructor of sorts ?
Writing out at App Close time isn't good enough.

Kent

---
A searchable archive of this list is available at:
<http://support.realsoftware.com/listarchives/search.php>

Unsubscribe:
<mailto:realbasic-nug-off at lists dot realsoftware dot com>

Subscribe to the digest: <mailto:realbasic-nug-digest at lists dot realsoftware dot com>
.


<Prev in Thread] Current Thread [Next in Thread>