Hi Paul,
Look at the QueryUnload event of the form.
>I am looking to control the events arising from a user clicking on the 'x' to close an application. I want to safely quit the program when the x is clicked and not provide a message box asking the user if they want to quit. Where would I look for info on doing this?
>
>Thanks,
>
>Paul Wyett
Roi
'MCP' Visual FoxPro
In Rome, there was a poem.
About a dog, who found two bone.
He lick the one, he lick the other.
He went pyscho, he drop dead!