Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trapping ESC or Close without building ???
Message
 
 
À
07/11/2001 16:19:02
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Divers
Thread ID:
00578746
Message ID:
00578801
Vues:
22
This message has been marked as the solution to the initial question of the thread.
I think Destroy Event is where you shoul put your code to capture closing of a project. You can try to use LASTKEY() to capture last key pressed but I'm not sure if it would be accurate in case a mouse is used.

>I have a project hook class that records various events to an activity table and shows a log screen of changes made to a particular project when the project is closed. I'm probably missing something obvious but how can I add an entry to the project activity table when someone hits the ESC key, clicks on the close button on the top right of the PM, or pressed ctrl-w? I want to show how they exit the PM. If they build the project I record if it was a success or failed but even after that I would like to show the date/time they exited the PM altogether.
>
>Any thoughts are greatly appreciated.....
>Greg Smith
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform