Hello All,
I have a small code that questions the user to confirm to exit the Application and I am getting a strange error, saying that the compiler cannot parse the dialog response
B4A 7.30
The Error in the Log window is :
The code that Causes it:
Thanks
I have a small code that questions the user to confirm to exit the Application and I am getting a strange error, saying that the compiler cannot parse the dialog response
B4A 7.30
The Error in the Log window is :
B4X:
Error occurred on line: 1559 (Main)
java.lang.RuntimeException: Cannot parse: -1 as boolean
at anywheresoftware.b4a.BA.parseBoolean(BA.java:591)
...
The code that Causes it:
B4X:
Sub btnExit_Click
Msgbox2Async("Exit Application ?","TP-614","Yes","","No",Null,False)
If DialogResponse.POSITIVE Then
Activity.Finish
Else
Return
End If
End Sub
Thanks