In 4D Write 2004.1 a new “wr on timer” event is provide to offer specific handling of “timer” type events. The timer can be used more particularly to implement an automatic back-up security mechanism for documents being edited, etc.
To use the event, use the WR ON EVENT command. For example:
WR ON EVENT(myArea; wr on timer; “myMethod”)
When the previous statement is executed, the “myMethod” method will be executed at a regular interval (by default, ever 60 seconds) as long as the “myArea” remains open.