Object - DestroyInstance Event
DestroyInstance is signalled when an instance of a component is about to be destroyed
Member of Object (PRIM_OBJT)
The DestroyInstance event is fired when an object instance is about to be destroyed.
An instance is only destroyed when the number of objects referring to it becomes zero.
All Component Classes
Technical Reference