Android Question How to use MsgBoxAsync with wait for?

LucaMs

Expert
Licensed User
Longtime User
I understand how to use the version 2 of MsgBoxAsync with Wait For:
Code: Copy
Msgbox2Async("Message", "Title", "Positive", "Cancel", "Negative", Bmp, False)
    Wait For MsgBox_Result (Result As Int)
    If Result = DialogResponse.NEGATIVE Then

but not how to use the simple MsgBoxAsync; this does not work:
Code: Copy
Wait For MsgboxAsync("Message", "Title")
 
Answer: same way:
Code: Copy
MsgboxAsync("Message", "Title")
Wait For MsgBox_Result (Result As Int)

The contextual help has deceived me, it seems that the "version 1" does not return a value:
upload_2017-12-5_14-55-28.png
 
Upvote 0
Back
Top