James,
I've never had the need to use QUIT in any of my applications. You
should issue a CLEAR EVENTS and let the application close down
gracefully. This is very helpful when running your application in
development mode. If you had the QUIT in there you'd have to keep
restarting VFP.
Frank.
Frank Cazabon
On 07/02/2013 12:09 PM, James Harvey wrote:
Thanks, I added the shutdown process. Don't know why I didn't do this
twenty years ago?
James E Harvey
M.I.S.
Hanover Shoe Farms, Inc.
www.hanoverpa.com
office: 717-637-8931
cell: 717-887-2565
fax: 717-637-6766
-----Original Message-----
From: ProFox [mailto:[email protected]] On Behalf Of Dave Crozier
Sent: Thursday, February 07, 2013 10:34 AM
To: ProFox Email List
Subject: RE: Quit option
* In Mainline
on shutdown do Do_Shutdown
Procedure Do_Shutdown
on Error
quit
end proc
-----Original Message-----
From: ProFox [mailto:[email protected]] On Behalf Of James Harvey
Sent: 07 February 2013 15:08
To: 'ProFox Email List'
Subject: Quit option
If I set _screen.closable = .f. then users must either select the "Exit"
option from the menu pad, or click the "Exit" command button on the top
form. Both execute the "quit" command.
If I set _screen.closable = .t. and the users clicks the "Close" button they
get a "Cannot quit Visual FoxPro" message.
I can't quite seem to figure out how to allow the user to quit the
application by clicking the screen's "Close" button.
Jim Harvey
[excessive quoting removed by server]
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.