Application.MessageBox "ArcPad is closed!", apOKOnly, "App Close"
<?xml version="1.0" encoding="UTF-8"?> <ArcPad> <APPLET> <SYSTEMOBJECTS> <APPLICATION onshutdown="Application.MessageBox "Hello world!", apOKOnly, "Logged Out""/> </SYSTEMOBJECTS> </APPLET> </ArcPad> <?xml version="1.0" encoding="UTF-8"?> <ArcPad> <APPLET onload="Call Login()" name=""> [...] <SYSTEMOBJECTS> <APPLICATION onshutdown="Application.MessageBox "ArcPad is closed!", apOKOnly, "App Close""/> </SYSTEMOBJECTS> </APPLET> <SCRIPT src="Login.vbs" language="vbscript"/> </ArcPad>
Thanks a lot, that is the example I was looking for!
The question is how to implement this? It is implemented the same way that you had for your login code working. I guess you had your login code under OnStartup Event?!
<?xml version="1.0" encoding="UTF-8"?> <ArcPad> <APPLET onload="Call Login()" name=""> [...] </APPLET> <SCRIPT src="Login.vbs" language="vbscript"/> </ArcPad>
Sub Login() Application.MessageBox "Hello world!", apOKOnly, "Logged In" End Sub
Aangemelde leden kunnen berichten plaatsen, updates volgen en meer. Nieuw hier? Registreer een gratis account.
Find useful guides, FAQs, and documents to help you navigate and make the most of Esri Community.