iOS Question msgboxAsync

toro1950

Active Member
Licensed User
This code works well with B4a, as replace it in B4I ?

B4X:
Msgbox2Async("","the customer already exists, do you want to overwrite it?", "yes", "", "No", Null, False)
        Wait For Msgbox_Result (Result As Int)
        If Result = DialogResponse.NEGATIVE Then
           Return
else
end if
 

Alex_197

Well-Known Member
Licensed User
Longtime User
This code works well with B4a, as replace it in B4I ?

B4X:
Msgbox2Async("","the customer already exists, do you want to overwrite it?", "yes", "", "No", Null, False)
        Wait For Msgbox_Result (Result As Int)
        If Result = DialogResponse.NEGATIVE Then
           Return
else
end if
B4X:
XUI.Msgbox2Async(msg,"Title","Yes","","No",Null)
Wait For MsgBox_Result(Result As Int)
        
If Result<>XUI.DialogResponse_Positive Then
            Log("qq")
            Return
End If
 
Upvote 0
Top