Mikelgiles Active Member Licensed User Longtime User Mar 18, 2017 #1 How do I terminate a program. In VB6 I would have released some resources and used the 'End' command.
How do I terminate a program. In VB6 I would have released some resources and used the 'End' command.
stanmiller Active Member Licensed User Longtime User Mar 18, 2017 #2 Either with StopMessageLoop or ExitApplication https://www.b4x.com/android/forum/threads/how-to-correclty-stop-application.38653/#post-229046 Upvote 0
Either with StopMessageLoop or ExitApplication https://www.b4x.com/android/forum/threads/how-to-correclty-stop-application.38653/#post-229046
EnriqueGonzalez Well-Known Member Licensed User Longtime User Mar 18, 2017 #3 For a ui app if you do not have any background thread mainform.close is enough. And if I remember correctly this will trigger the mainform_closerequest event, allowing you to do stuff before closing the app Exitapplication for everything else Last edited: Mar 18, 2017 Upvote 0
For a ui app if you do not have any background thread mainform.close is enough. And if I remember correctly this will trigger the mainform_closerequest event, allowing you to do stuff before closing the app Exitapplication for everything else