>In my VFP apps I now use READ EVENTS. The Quit command simply does a CLEAR EVENTS. Does anybody know of a simple way to implement the DoneYet functionality? I want to be able to shut down the app if the user is at the MainMenu.
I have done something similar where I do use a timer that is running during the life of the app that fires about every minute. The code checks for a logical value in a "status" table. If I do change the status to .F., my users get a message on the screen to exit the app immediately or risk getting forced out. I also have a field in my status table on what time they will be kicked out if they do not respond. The timer also checks that field against the system clock. If the current time is at or after the kick-out time, I fire my app's shutdown procedure. The FALSE setting also prevents other users from starting the app.
Mark McCasland
Midlothian, TX USA