Thanks Sergey,
I never realized there was a NewObject method.
>It would work for Newobject method only. If you're using NEWOBJECT() function than there's no releationship between container and object created from your class.
>
>>Sorry Sergey,
>>When I use NewObject, the new object doesn't have a parent.
>>If you're getting something different, please let me know how you do it.
>>
>>
>>>Would
this.oContainer = This.Parent
work for you?
>>>
><snip>
Bill Morris