>>>You may not want to, but have you tried CLEAR ALL?
>>
>>ROFL! When I read it I was wonder "why wouldn't I want to?" so I tried. Locked up vfp completely. Had to end the task.
>
>Well, if you're like me, you may have had some variable set for testing purposes and you'd lose them. The problem sounded like you had a dangling object reference to the form or something on the form. For example, if you place the mouse pointer over a control on the form and issue ox = SYS(1270), you won't be able to close the form because there's still a reference to the control held by the ox variable. Once you ox = NULL, it'll then close. CLEAR ALL would have the same affect.
>
>Sorry, Alex.
Hi George and Alex,
I have the similar situation and sometimes, if I encourage an error or just go to command window or debug, I can not close my form after that (the form has close button, but isn't closable). I hit on Close button and nothing happens. So, the question is, is it possible to close a form after normal process termination without going to application menu - Exit (not the Fox system menu)?
If it's not broken, fix it until it is.
My Blog