Hello!
I am trying to use ExitApplication form a Code Module. There are no compile errors, the program runs just find. Here is the segment:
I am trying to use ExitApplication form a Code Module. There are no compile errors, the program runs just find. Here is the segment:
B4X:
Select windowLink
Case "$$Main$$_AboutScreen"
changeWindow("AboutScreen")
linkFound = True
Case "$$Main$$_Exit"
Dim question_answer As String
question_answer = showQuestion("Are you sure you want to exit?", "Exit?", "Yes", "No, bring me back")
If(question_answer = "YES") Then
ExitApplication
End If
linkFound = True
End Select