Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Trapping ESC or Close without building ???
Message
From
08/11/2001 10:20:11
 
General information
Forum:
Visual FoxPro
Category:
Project manager
Miscellaneous
Thread ID:
00578746
Message ID:
00579076
Views:
20
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
Previous
Reply
Map
View

Click here to load this message in the networking platform