Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Var
tLastAction Time
endVar
method init(var eventInfo Event)
tLastAction = time()
self.setTimer( 1000 )
endMethod
method keyChar(var eventInfo KeyEvent)
if not eventInfo.isPreFilter() then
tLastAction = time()
endIf
endMethod
method keyPhysical(var eventInfo KeyEvent)
if not eventInfo.isPreFilter() then
tLastAction = time()
endIf
endMethod
method mouseDown(var eventInfo MouseEvent)
if not eventInfo.isPreFilter() then
tLastAction = time()
endIf
endMethod
method mouseMove(var eventInfo MouseEvent)
if not eventInfo.isPreFilter() then
tLastAction = time()
endIf
endMethod
method timer(var eventInfo TimerEvent)
var
tIdleTime Time
endVar
if not eventInfo.isPreFilter() then
tIdleTime = ( time() - tLastAction )
if tIdleTime.hour() > 0 then
self.killTimer()
formReturn( FALSE )
endIf
endIf
endMethod
if DesignModified then
DesignModified = FALSE
endIf