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 Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to Quit Fox Pro

Status
Not open for further replies.

LindaRichard

Programmer
Feb 23, 2001
103
CA
In my application I use

MODIFY WINDOW SCREEN CLOSE NOFLOAT MINIMIZE

to set the fox pro windows properties in main.prg

I compile the application and then when I run the program and click
of the x (top rigth), I get the error message.

cannot quit visual fox pro

Any suggestions how I can get the X button to work and quit.

Ideally I would like it to trigger the event cmdexit.click()
located on my form.
I currently use
_screen.activeform.cmdexit.click() from a button in my toolbar.

Thanks
Linda
 
Hi Linda,

Read about the ON SHUTDOWN in the VFP docs.

There are many threads here that discuss that issue, such as:

thread184-24450
thread184-45159 Jon Hawkins

The World Is Headed For Mutiny,
When All We Want Is Unity. - Creed
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top