Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VFP and App will not shutdown
Message
De
11/02/2005 12:49:51
John Marrone
Bloodstock Research Inc.
Lexington, Kentucky, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
VFP and App will not shutdown
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows XP
Database:
Visual FoxPro
Divers
Thread ID:
00986039
Message ID:
00986039
Vues:
53
Hi
Below is my code. The problem is my application will not shutdown. And then when I try to quit vfp it will not shutdown either.

This is in my main prg.

CODE
PUBLIC frmMain as Object

SET PATH TO HOME(1);MENUS;classes;libs;DATA;SOURCE;OTHER;graphics;FORMS;OTHER
ON SHUTDOWN DO closedown
SET CLASSLIB TO clsForms.vcx
frmMain = CreateObject("MainForm")
frmMain.Show
READ EVENTS

This is my shutdown procedure

CODE
PROCEDURE CloseDown()
SET SYSMENU TO DEFAULT
frmMain.Unload
CLEAR EVENTS
CANCEL
RETURN
Thanks
John Marrone
Bloodstock Research Inc
marrone@brisnet.com

To much of a good thing is a good thing!
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform