The Math Forum

Search All of the Math Forum:

Views expressed in these public forums are not endorsed by NCTM or The Math Forum.

Math Forum » Discussions » Software » comp.soft-sys.matlab

Notice: We are no longer accepting new posts, but the forums will continue to be readable.

Topic: Update and Delete listeners
Replies: 3   Last Post: Jul 1, 2013 5:47 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Steven Lord

Posts: 18,038
Registered: 12/7/04
Re: Update and Delete listeners
Posted: Jun 28, 2013 11:36 AM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

"kees de Kapper" <> wrote in message
> Hi All,
> I have been playing a little with events and listeners and came up with a
> usable implementation to update my object, etc. However, what I would like
> to have as well, is a listener of the event that the object is (going to
> be) destroyed/deleted. I would like to have the possibility to clean up
> several dependencies just before deletion.
> I cannot find some an event like 'Delete' or what so ever. Have I missed
> something.

Create a DELETE method for your object. Clean up the dependencies in that

Steve Lord
To contact Technical Support use the Contact Us link on

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© The Math Forum at NCTM 1994-2018. All Rights Reserved.