SetOnPauseSub onPause()

Sets the on app paused subroutine. Once set, the specified onPause() subroutine will be automatically called when the home button is pressed and the app is paused. The subroutine name onPause() may be changed to your own name.

Sub onPause()

' Insert your code here

End Sub

SetOnPauseSub Off

Turns off the automatic subroutine call.

Event Triggered Subs

Become a Patron