Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Trapping ESC or Close without building ???
Message
De
08/11/2001 10:20:11
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire de projet
Divers
Thread ID:
00578746
Message ID:
00579076
Vues:
21
Sergey,

Many thanks.....LASTKEY() worked well enough for what I had in mind.


>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform