Select to view content in your preferred language

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

769
2
05-08-2013 02:03 PM
jungao
by
Occasional Contributor
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
Deactivated User
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
Occasional Contributor
Thanks, got it working.
0 Kudos