>I have a class based on a container. When I pass that class 'this' from the calling class and then set a property called 'oparent' in this container all is working fine until the class is destroyed. Then the parent form won't close. Any ideas?
>
>Gary
You should 'release' reference in child object Destroy event: This.oParent=.NULL.
Edward Pikman
Independent Consultant