<i><font color="#663300">Altough return .T. the close button of form is dimmed and form not release. The problem is after query unload method on destroy or unload method. Howewer i dont change this methods on cbizobjform or ibizobjform. I use asecurecontrols in the forms.</font></i>
I think Pamela's on the right track - this behavior is almost always caused by a property set up to reference another object. Do you have any custom properties on your form, or on any of its controls, which hold a reference to another object? If so, in the Destroy() method of that class, you have to add:
<code>This.oProperty = .NULL.</code>
to make sure that Fox properly releases things. Otherwise, Fox isn't too good about cleaning up such references, and will simply leave the form there is a semi-dead state. <font color="#cc0000"> ___/ / __/ / ____/</font> Ed Leafe ©2001 Ed Leafe |