Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Shutdown (no if's and but's)
Message
De
27/05/2002 09:49:40
 
 
À
24/05/2002 08:59:33
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00660933
Message ID:
00661666
Vues:
20
Sorry for late response.

I am actually using using a forms manager but the main problem was a form that was being called by my application and then another form straight afterwards, so a form loaded when the other one closed.

Anyway, I put a work-around in there and that seems to have sorted it.

Thanks
Kev

>Hi Kevin,
>
>One thoughts is to have a forms manager in your application object which will know what forms are open and gracefully close them and release any outstanding object references so the application can QUIT gracefully.
>
>I guess a hard-core way might be to invoke the appropriate API function ( can't remember it off the top of my haed ) to force the application to close similar to how the Task Manager does. I would think that generally this would be too drastic but maybe someone who has done it this way will chime in with some details.
>
>Bill
>
>>Hi
>>
>>I have a lockout timer that runs throughout my app and when it's time to shutdown the app, it calls it's standard Quit() method in one of the objects. However, this method sometimes fails when certain forms are open.
>>
>>Is there any way I can close the application without it complaining about this and that, no if's and but's, it's a matter of fact, it WILL shutdown immediately!
>>
>>Any ideas?
>>Thanks
>>Kev
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform