Hi all,
By default, when user press Back button, the Activity will be closed (Finished) and the event Activity_Pause raise with UserClosed = True.
The question is, how to prevent Activity from Closing when user press Back button. In VB6 we can do that with Cancel = True in Form_Unload event.
Thanks.
By default, when user press Back button, the Activity will be closed (Finished) and the event Activity_Pause raise with UserClosed = True.
The question is, how to prevent Activity from Closing when user press Back button. In VB6 we can do that with Cancel = True in Form_Unload event.
Thanks.