>Still, I prefer to see programs with one way of doing things like exiting, rather than multiple ways like an exit button or the "X". The proprerties are there, so why not use them to make life easy.
It occurred to me a little later that instead of being critical, I can offer a very easy solution to your & Koos' form exit problems. To re-direct the 'X' (and other titlebar) exiting, all you need to do is put this code in the form's Queryunload:
Nodefault && stops automatic form release
This.cmdexit.click
This will allow you to enable your titlebar closing, and give you complete control over the exit code. Unless it's the main vfp screen, of course, where you'll need a SHUTDOWN call...
The Anonymous Bureaucrat,
and frankly, quite content not to be
a member of either major US political party.