Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Top-Level form and application object
Message
De
03/06/1999 04:42:33
Fida Shamsoodeen
Combined Systems (Pty) Ltd
Centurion, Afrique du Sud
 
 
À
23/05/1999 08:51:16
Shane Gilbert
Oklahoma State Department of Education
Norman, Oklahoma, États-Unis
Information générale
Forum:
Visual FoxPro
Catégorie:
Classes - VCX
Divers
Thread ID:
00221876
Message ID:
00225822
Vues:
11
Hi Shane,

this works for me.

On ypur main form add a line : ON SHUTDOWN DO shutdownproc.
Make a .prg called shutdownproc.
Contents :
close tables all
quit

Cheers
Fida


>I have used the VFP 5.0 wizard to create an "application frame only." I would like to completely hide the Foxpro screen, so I thought I would create my main form as a top-level form. I am having problems getting the Shutdown to work right. When I close the form the application object doesn't get released, and if I put a QUIT in the Unload event of the form (which would call the application object's OnShutdown) I get a message about can't clear object in use. I can leave out the clear all but then the application is still active in memory. What am I missing?
>
>Shane
Wannabe FoxPert!!!
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform