Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
On Shutdown Not Working
Message
From
12/08/1999 13:52:31
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00253066
Message ID:
00253125
Views:
25
Jim,

Thanks for the reply. The top level form is modless. Here is the startup code.

public m_Shutdown
m_Shutdown = .F.
on error do \TurnKey4\Error.prg
on shutdown do \TurnKey4\Shutdown.prg
declare _fpreset in msvcrt20.dll
=_fpreset()
set century on
set deleted on
set confirm on
set talk off
release all
close databases all
do form \TurnKey4\forms\mainworkarea.scx
read events
* The Folowing Terminates The Program
if m_Shutdown = .F.
modify window screen title "Microsoft Visual FoxPro"
set sysmenu to default
release windows
cancel
else
quit
endif

Thanks
Mark Parker
MAP Software, Inc.
Previous
Reply
Map
View

Click here to load this message in the networking platform