James Harvey wrote on 2013-02-07: 
>  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
> 

James,

Do you have an ON SHUTDOWN command?
ON SHUTDOWN DO MyShutdownProcess

Procedure MyShutdownProcess
   ON SHUTDOWN
   ON ERROR
   QUIT
EndProc


Tracy Pearson
PowerChurch Software


_______________________________________________
Post Messages to: ProFox@leafe.com
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/001101ce0548$67b8c6b0$372a5410$@powerchurch.com
** 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.

Reply via email to