End WD23 application after time of inactivity. December 30, 2018 01:10PM |
Registered: 5 years ago Posts: 220 |
Re: End WD23 application after time of inactivity. December 30, 2018 04:30PM |
Admin Registered: 5 years ago Posts: 501 |
Re: End WD23 application after time of inactivity. December 30, 2018 04:45PM |
Registered: 5 years ago Posts: 220 |
Re: End WD23 application after time of inactivity. December 30, 2018 06:15PM |
Registered: 5 years ago Posts: 220 |
Re: End WD23 application after time of inactivity. December 30, 2018 06:19PM |
Admin Registered: 5 years ago Posts: 501 |
Re: End WD23 application after time of inactivity. December 30, 2018 06:45PM |
Registered: 5 years ago Posts: 220 |
Re: End WD23 application after time of inactivity. December 31, 2018 12:32PM |
Registered: 5 years ago Posts: 150 |
Re: End WD23 application after time of inactivity. December 31, 2018 04:34PM |
Registered: 5 years ago Posts: 220 |
Re: End WD23 application after time of inactivity. December 31, 2018 09:01PM |
Registered: 5 years ago Posts: 150 |
Re: End WD23 application after time of inactivity. January 01, 2019 12:56PM |
Registered: 5 years ago Posts: 234 |
Re: End WD23 application after time of inactivity. January 01, 2019 04:26PM |
Registered: 5 years ago Posts: 220 |
Re: End WD23 application after time of inactivity. January 01, 2019 07:42PM |
Registered: 5 years ago Posts: 150 |
Re: End WD23 application after time of inactivity. January 01, 2019 11:11PM |
Registered: 5 years ago Posts: 234 |
Re: End WD23 application after time of inactivity. January 02, 2019 03:01AM |
Registered: 5 years ago Posts: 46 |
Re: End WD23 application after time of inactivity. January 05, 2019 06:09PM |
Registered: 5 years ago Posts: 150 |
//Make sure you have this for the constants EXTERN "WinConst.WL" //Create a int that will hold the seconds gnTimeOutClock is int //Trap the events of the user Event(EV_ResetTime, "*.*", WM_LBUTTONUP) Event(EV_ResetTime, "*.*", WM_RBUTTONUP) Event(EV_ResetTime, "*.*", WM_MBUTTONUP) Event(EV_ResetTime, "*.*", WM_KEYUP) //Start the timer (Automatic timer every second in its own thread) EV_MoveTime()
//// Automatic Procedure: // The procedure is run manually, during a call in the code // It will be run in a thread (without having to call ThreadExecute), without using HFSQL // It will be repeated in loop, with a timeout set to 1 second between each call EV_MoveTime() gnTimeOutClock++
PROCEDURE EV_ResetTime() gnTimeOutClock=0
Re: End WD23 application after time of inactivity. January 06, 2019 03:12PM |
Registered: 5 years ago Posts: 234 |