T toro1950 Active Member Licensed User Aug 18, 2024 #1 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
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
A Alex_197 Well-Known Member Licensed User Longtime User Aug 18, 2024 #2 toro1950 said: 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 Click to expand... 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
toro1950 said: 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 Click to expand... 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