>That's right. VFP releases object reference before releasing an object.
>Try to call Destroy method from Release method of main form. This will release child windows before main window.
Hi Anton,
Finally had time to test and it works properly now. Many thanks.
ramil
~~ learning to stand still