V vndnguyen Member Nov 21, 2011 #1 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.
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.
Erel B4X founder Staff member Licensed User Longtime User Nov 21, 2011 #2 See this thread: http://www.b4x.com/forum/basic4android-updates-questions/11736-back-button.html#post65530 Upvote 0
See this thread: http://www.b4x.com/forum/basic4android-updates-questions/11736-back-button.html#post65530