Hello,
What problem arises when someone leaves the program open that we have to respond to?
However, a timeout won't help here if the user is no longer in front of the computer. You'll always have to close the program automatically, but you won't know whether the data needs to be saved or not.
I think we need to design the programs like on the web, where it doesn't matter if it remains open (stateless).
But it does require extra effort and a change in thinking. I believe that in the future you won't be able to simply use a record lock or even a file lock.
It would be beneficial, especially considering mod harbour, to have a standardized function: buffer and then check before saving if the buffered data is still current.
Best regards,
Otto
Parameter for Timeout
Re: Parameter for Timeout
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
mod harbour - Vamos a la conquista de la Web
modharbour.org
https://www.facebook.com/groups/modharbour.club
********************************************************************
- Marc Venken
- Posts: 1481
- Joined: Tue Jun 14, 2016 7:51 am
- Location: Belgium
Re: Parameter for Timeout
Probably none, but it is just a good habbit of closing a program.What problem arises when someone leaves the program open that we have to respond to?
I will surely use this code to force the program to close. (give them enough time offcource) Non saved data is the responsability of the user. They need to save and close.
Marc Venken
Using: FWH 23.08 with Harbour
Using: FWH 23.08 with Harbour
- RAMESHBABU
- Posts: 626
- Joined: Fri Oct 21, 2005 5:54 am
- Location: Secunderabad (T.S), India
Re: Parameter for Timeout
+1Probably none, but it is just a good habbit of closing a program.
I will surely use this code to force the program to close. (give them enough time offcource) Non saved data is the responsability of the user. They need to save and close.
Ramesh Babu