Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
On Shutdown Not Working
Message
De
12/08/1999 13:52:31
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00253066
Message ID:
00253125
Vues:
26
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.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform