Page 1 of 1

Time Out

Posted: Wed Mar 03, 2021 7:27 am
by omni
Roger,

I vaguely remember there is a method to time out a user and close the window if no activity. Would like to add it to our user login, as many may leave them open without knowing it at the bottom of their screen. Something in the gui read, i think.

Fred

Re: Time Out

Posted: Wed Mar 03, 2021 8:36 am
by Tom
Yes, it's an option of DCREAD GUI:

Code: Select all

DCREAD GUI ... TIMEOUT {nSecs,bBlock}
nSecs is the number of seconds to wait for an event, bBlock is a codeblock that is evaluated if there was nothing for nSecs seconds. It returns .F. to end the dialog, .T. to keep it running.

Re: Time Out

Posted: Wed Mar 03, 2021 9:57 am
by omni
Good grief. We already had it there set to 210. Guess I should have checked first.

Old age is H.

Re: Time Out

Posted: Wed Mar 03, 2021 12:06 pm
by bwolfsohn
>>Old age is H.

It's a bit better than the alternative..

Sometimes, only a small bit..

like an 8 bit, and a whole 64 bit.. :)