Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What sequence when clicking Windows "X" to quit ?

Status
Not open for further replies.

vfp7guy

Programmer
Jul 2, 2002
45
CA
Could somebody please let me know exactly what happens when you click the upper-right Windows "X" box to quit the top-level EXE, as opposed to clicking the VFP-form button defined as the CANCEL button.

I have a situation with the main EXE able to load forms (modal and/or modeless) and/or EXEs but lately I get an error behavior when I close with the "X" as opposed to the QUIT button if any other form is open.

I cannot find any reference to the exact sequence of a shutdown done via clicking the "X".
TIA ... Roy
 
X button sequence:
QueryUnload()
Destroy()


Cancel button
Button.Click()

Borislav Borissov
VFP9 SP1, SQL Server 2000/2005.
MVP VFP
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top