On Oct 21, 2006, at 7:16 PM, Malcolm Greene wrote:

I would like to users to be able to double click on these containers to
destroy them. I thought that I could have called This.Destroy() in the
container's DblClick() event to have the container destroy itself, but
this does not work.

        If you want an object to be destroyed, the one thing that works is:

RELEASE This

All of Codebook's base classes added a Release() method that consisted of exactly that line.

-- Ed Leafe
-- http://leafe.com
-- http://dabodev.com




_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to