General information
Category:
Coding, syntax & commands
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only