For my EXIT buttons, I always write some code to close conections and other stuff like this, and finish with Cancel. Somebody told me that Quit is better and I know that some others uses Thisform.Release.
I prefer Cancel because when I'm testing in VFP, Quit exit VFP and Thisform.Release can cause that form freeze on error.
It seems that 3 are good ways to exit a program. Is it any important diference?
By two common phrases in his vocabulary, we know Hercule Poirot was a great Developer: his use of "the little grey cells" and "order and method".