Is it possible to force Arcpad to auto-refresh every X minutes?

561
2
05-08-2013 02:03 PM
jungao
by
New Contributor II
I want to do other thing periodically as well, to simplify, I'm using autorefresh as an example.

Thanks
Tags (3)
0 Kudos
2 Replies
GarethWalters
Occasional Contributor III
Hi,

You could use the timer event and set it the refresh to the timer.

sub myTimer
 Application.Timer.Enabled = true
 Application.Timer.Interval = 60000 'In Milliseconds
End Sub


Now attach this to the timer event within an applet (.apa) or your configuration file (arcpad.apx)
Sub timerRefresh
 Map.Refresh
End Sub


Let me know how you go.

Cheers,
0 Kudos
jungao
by
New Contributor II
Thanks, got it working.
0 Kudos