>Hi Edward,
> I write clear event on the unload procedure, but when i run it an click the "x" button it still can close the form, why ?(i set it to as top level form)
> I write screen=off in the config.fpw for close the system window.
>
>regard,
>chang
There is, usually, just one reason which can prevent normal functioning of top-right corner close box. It does not work, if your form has custom properties which hold some object references, i.e. TYPE("Form.Property1")="O". All these properies should be set to .NULL. in Form.Destroy event.
Edward Pikman
Independent Consultant