how to properly close the entire app of b4xpages ?
currently, I do something like this
but this won't close the app instead it sends it to the background! what exactly needed to immediately close the b4xpages app?
currently, I do something like this
B4X:
private Sub B4XPage_CloseRequest As ResumableSub
Dim sf As Object = xui.Msgbox2Async("Close?", "Title", "Yes", "Cancel", "No", Null)
Wait For (sf) Msgbox_Result (Result As Int)
If Result = xui.DialogResponse_Positive Then
B4XPages.ClosePage(Me)
Return True
End If
Return False
End Sub
but this won't close the app instead it sends it to the background! what exactly needed to immediately close the b4xpages app?